Skip to content

Commit

Permalink
Merge pull request #265 from wp-cli/261-update-search-docs
Browse files Browse the repository at this point in the history
Update db search docs
  • Loading branch information
mrsdizzie authored Aug 13, 2024
2 parents 6c09f32 + 8797d05 commit ef0f52e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/DB_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,15 @@ public function prefix() {
*
* [--format=<format>]
* : Render output in a particular format.
* ---
* options:
* - table
* - csv
* - json
* - yaml
* - ids
* - count
* ---
*
* The percent color codes available are:
*
Expand Down Expand Up @@ -1301,6 +1310,16 @@ public function prefix() {
*
* They can be concatenated. For instance, the default match color of black on a mustard (dark yellow) background `%3%k` can be made black on a bright yellow background with `%Y%0%8`.
*
* ## AVAILABLE FIELDS
*
* These fields will be displayed by default for each result:
*
* * table
* * column
* * match
* * primary_key_name
* * primary_key_value
*
* ## EXAMPLES
*
* # Search through the database for the 'wordpress-develop' string
Expand Down

0 comments on commit ef0f52e

Please sign in to comment.