diff --git a/README.md b/README.md index 32106dd9..89a10073 100644 --- a/README.md +++ b/README.md @@ -2893,6 +2893,8 @@ wp post term add ... [--by=] Append the term to the existing set of terms on the object. +**OPTIONS** + The ID of the object. @@ -2921,6 +2923,8 @@ List all terms associated with an object. wp post term list ... [--field=] [--fields=] [--format=] ~~~ +**OPTIONS** + ID for the object. @@ -3008,6 +3012,8 @@ wp post term set ... [--by=] Replaces existing terms on the object. +**OPTIONS** + The ID of the object. @@ -6326,6 +6332,8 @@ wp user term add ... [--by=] Append the term to the existing set of terms on the object. +**OPTIONS** + The ID of the object. @@ -6354,6 +6362,8 @@ List all terms associated with an object. wp user term list ... [--field=] [--fields=] [--format=] ~~~ +**OPTIONS** + ID for the object. @@ -6441,6 +6451,8 @@ wp user term set ... [--by=] Replaces existing terms on the object. +**OPTIONS** + The ID of the object. diff --git a/src/WP_CLI/CommandWithTerms.php b/src/WP_CLI/CommandWithTerms.php index ddc558a8..1fa4562f 100644 --- a/src/WP_CLI/CommandWithTerms.php +++ b/src/WP_CLI/CommandWithTerms.php @@ -36,6 +36,8 @@ abstract class CommandWithTerms extends WP_CLI_Command { /** * List all terms associated with an object. * + * ## OPTIONS + * * * : ID for the object. * @@ -204,6 +206,8 @@ public function remove( $args, $assoc_args ) { * * Append the term to the existing set of terms on the object. * + * ## OPTIONS + * * * : The ID of the object. * @@ -250,6 +254,8 @@ public function add( $args, $assoc_args ) { * * Replaces existing terms on the object. * + * ## OPTIONS + * * * : The ID of the object. *