Prepare 0.5.1
[shpub.git] / src / shpub / Cli.php
index 733f4df0de88de1dd3bf3f1e9f1e600a3bb0a716..a7e658d1d856ad66e9b95183f17dd4ee9bfe2739 100644 (file)
@@ -31,7 +31,10 @@ class Cli
 
             case 'server':
                 $cmd = new Command_Server($this->cfg);
-                $cmd->run($res->command->options['verbose']);
+                $cmd->run(
+                    $res->command->args['server'],
+                    $res->command->options['verbose']
+                );
                 break;
 
             default:
@@ -92,7 +95,7 @@ class Cli
         $optParser = new \Console_CommandLine();
         $optParser->name        = 'shpub';
         $optParser->description = 'Command line micropub client';
-        $optParser->version     = '0.3.0';
+        $optParser->version     = '0.5.1';
         $optParser->subcommand_required = true;
 
         $optParser->addOption(