File tree 2 files changed +18
-18
lines changed
2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -360,13 +360,13 @@ Display the database name and size.
360
360
wp db size [--size_format] [--tables] [--format] [--scope=<scope>] [--network] [--all-tables-with-prefix] [--all-tables]
361
361
~~~
362
362
363
- Display the database name and size for ` DB_NAME ` specified in wp-config.php,
364
- defaults to a human-readable number.
363
+ Display the database name and size for ` DB_NAME ` specified in wp-config.php.
364
+ The size defaults to a human-readable number.
365
365
366
366
** OPTIONS**
367
367
368
368
[--size_format]
369
- Display only the database size as a number.
369
+ Display the database size only, as a bare number.
370
370
---
371
371
default: b
372
372
options:
@@ -427,14 +427,14 @@ defaults to a human-readable number.
427
427
| wp_commentmeta | 48 KB |
428
428
+-----------------------+-------+
429
429
430
- $ wp db size --size_format=b
431
- 5865472
430
+ $ wp db size --size_format=b
431
+ 5865472
432
432
433
- $ wp db size --size_format=kb
434
- 5728
433
+ $ wp db size --size_format=kb
434
+ 5728
435
435
436
- $ wp db size --size_format=mb
437
- 6
436
+ $ wp db size --size_format=mb
437
+ 6
438
438
439
439
## Installing
440
440
Original file line number Diff line number Diff line change @@ -459,13 +459,13 @@ public function tables( $args, $assoc_args ) {
459
459
/**
460
460
* Display the database name and size.
461
461
*
462
- * Display the database name and size for `DB_NAME` specified in wp-config.php,
463
- * defaults to a human-readable number.
462
+ * Display the database name and size for `DB_NAME` specified in wp-config.php.
463
+ * The size defaults to a human-readable number.
464
464
*
465
465
* ## OPTIONS
466
466
*
467
467
* [--size_format]
468
- * : Display only the database size as a number.
468
+ * : Display the database size only, as a bare number.
469
469
* ---
470
470
* default: b
471
471
* options:
@@ -526,14 +526,14 @@ public function tables( $args, $assoc_args ) {
526
526
* | wp_commentmeta | 48 KB |
527
527
* +-----------------------+-------+
528
528
*
529
- * $ wp db size --size_format=b
530
- * 5865472
529
+ * $ wp db size --size_format=b
530
+ * 5865472
531
531
*
532
- * $ wp db size --size_format=kb
533
- * 5728
532
+ * $ wp db size --size_format=kb
533
+ * 5728
534
534
*
535
- * $ wp db size --size_format=mb
536
- * 6
535
+ * $ wp db size --size_format=mb
536
+ * 6
537
537
*/
538
538
public function size ( $ args , $ assoc_args ) {
539
539
You can’t perform that action at this time.
0 commit comments