OSDN Git Service

`$group` is optional for the function, so let it be optional for the command too
authorDaniel Bachhuber <d@danielbachhuber.com>
Fri, 31 May 2013 22:07:53 +0000 (22:07 +0000)
committerDaniel Bachhuber <d@danielbachhuber.com>
Fri, 31 May 2013 22:07:53 +0000 (22:07 +0000)
php/commands/cache.php

index 00b93b2..4516e7e 100644 (file)
@@ -51,7 +51,7 @@ class Cache_Command extends WP_CLI_Command {
        /**
         * Remove a value from the object cache.
         *
-        * @synopsis <key> <group>
+        * @synopsis <key> [<group>]
         */
        public function delete( $args, $assoc_args ) {
                $key = $args[0];