add description for all commands
[shpub.git] / src / shpub / Cli.php
index 56898511e8ac8405013a6abbad53e77f82acffd9..e071252eb6020b75d70034727d3804fd3cbad5f1 100644 (file)
@@ -89,8 +89,9 @@ class Cli
     protected function loadOptParser()
     {
         $optParser = new \Console_CommandLine();
-        $optParser->description = 'shpub';
-        $optParser->version = '0.1.0';
+        $optParser->name        = 'shpub';
+        $optParser->description = 'Command line micropub client';
+        $optParser->version     = '0.1.0';
         $optParser->subcommand_required = true;
 
         $optParser->addOption(