OSDN Git Service

replace <parent> with <term-id> for wp term update
authorscribu <mail@scribu.net>
Wed, 13 Feb 2013 15:23:14 +0000 (17:23 +0200)
committerscribu <mail@scribu.net>
Wed, 13 Feb 2013 15:23:14 +0000 (17:23 +0200)
man-src/term-update.txt
php/commands/term.php

index 82ae9a1..cc6bc6c 100644 (file)
 
        A new description for the term.
 
-* `--parent`=<parent>:
+* `--parent`=<term-id>:
 
        A new parent for the term.
 
 ## EXAMPLES
 
-       wp term update 15 category --name=Apple
\ No newline at end of file
+       wp term update 15 category --name=Apple
index 148559e..f8c999c 100644 (file)
@@ -64,7 +64,7 @@ class Term_Command extends WP_CLI_Command {
        /**
         * Update a term.
         *
-        * @synopsis <term-id> <taxonomy> [--name=<name>] [--slug=<slug>] [--description=<description>] [--parent=<parent>]
+        * @synopsis <term-id> <taxonomy> [--name=<name>] [--slug=<slug>] [--description=<description>] [--parent=<term-id>]
         */
        public function update( $args, $assoc_args ) {