Skip to content

Commit 81741bc

Browse files
authored
Merge pull request #253 from wp-cli/update-readme-220
Update README.md file
2 parents fc88ac8 + 5467055 commit 81741bc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,12 +1669,12 @@ Errors if the option already exists.
16691669
Deletes an option.
16701670

16711671
~~~
1672-
wp option delete <key>
1672+
wp option delete <key>...
16731673
~~~
16741674

16751675
**OPTIONS**
16761676

1677-
<key>
1677+
<key>...
16781678
Key for the option.
16791679

16801680
**EXAMPLES**
@@ -1683,6 +1683,12 @@ wp option delete <key>
16831683
$ wp option delete my_option
16841684
Success: Deleted 'my_option' option.
16851685

1686+
# Delete multiple options.
1687+
$ wp option delete option_one option_two option_three
1688+
Success: Deleted 'option_one' option.
1689+
Success: Deleted 'option_two' option.
1690+
Warning: Could not delete 'option_three' option. Does it exist?
1691+
16861692

16871693

16881694
### wp option get

0 commit comments

Comments
 (0)