add description for all commands
[shpub.git] / src / shpub / Command / Delete.php
index 7735e218814740d9787642113e112a4a4d4c0bcc..cd975000e65585694bb1537c876b1c5fdbced94c 100644 (file)
@@ -6,6 +6,7 @@ class Command_Delete extends Command_AbstractProps
     public static function opts(\Console_CommandLine $optParser)
     {
         $cmd = $optParser->addCommand('delete');
     public static function opts(\Console_CommandLine $optParser)
     {
         $cmd = $optParser->addCommand('delete');
+        $cmd->description = 'Delete an existing post';
         static::addOptJson($cmd);
         $cmd->addArgument(
             'url',
         static::addOptJson($cmd);
         $cmd->addArgument(
             'url',