Skip to content

Commit da72295

Browse files
Clean up docs further
1 parent e287fac commit da72295

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,13 @@ Display the database name and size.
360360
wp db size [--size_format] [--tables] [--format] [--scope=<scope>] [--network] [--all-tables-with-prefix] [--all-tables]
361361
~~~
362362

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.
365365

366366
**OPTIONS**
367367

368368
[--size_format]
369-
Display only the database size as a number.
369+
Display the database size only, as a bare number.
370370
---
371371
default: b
372372
options:
@@ -427,14 +427,14 @@ defaults to a human-readable number.
427427
| wp_commentmeta | 48 KB |
428428
+-----------------------+-------+
429429

430-
$ wp db size --size_format=b
431-
5865472
430+
$ wp db size --size_format=b
431+
5865472
432432

433-
$ wp db size --size_format=kb
434-
5728
433+
$ wp db size --size_format=kb
434+
5728
435435

436-
$ wp db size --size_format=mb
437-
6
436+
$ wp db size --size_format=mb
437+
6
438438

439439
## Installing
440440

src/DB_Command.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -459,13 +459,13 @@ public function tables( $args, $assoc_args ) {
459459
/**
460460
* Display the database name and size.
461461
*
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.
464464
*
465465
* ## OPTIONS
466466
*
467467
* [--size_format]
468-
* : Display only the database size as a number.
468+
* : Display the database size only, as a bare number.
469469
* ---
470470
* default: b
471471
* options:
@@ -526,14 +526,14 @@ public function tables( $args, $assoc_args ) {
526526
* | wp_commentmeta | 48 KB |
527527
* +-----------------------+-------+
528528
*
529-
* $ wp db size --size_format=b
530-
* 5865472
529+
* $ wp db size --size_format=b
530+
* 5865472
531531
*
532-
* $ wp db size --size_format=kb
533-
* 5728
532+
* $ wp db size --size_format=kb
533+
* 5728
534534
*
535-
* $ wp db size --size_format=mb
536-
* 6
535+
* $ wp db size --size_format=mb
536+
* 6
537537
*/
538538
public function size( $args, $assoc_args ) {
539539

0 commit comments

Comments
 (0)