Fix CS
[shpub.git] / src / shpub / Cli.php
index e071252eb6020b75d70034727d3804fd3cbad5f1..8ea550eefbe5ba222fc1a3d64c9f06d4cf56c623 100644 (file)
@@ -24,7 +24,8 @@ class Cli
                     $res->command->args['server'],
                     $res->command->args['user'],
                     $res->command->args['key'],
-                    $res->command->options['force']
+                    $res->command->options['force'],
+                    $res->command->options['scope']
                 );
                 break;
 
@@ -49,7 +50,7 @@ class Cli
     /**
      * Let the CLI option parser parse the options.
      *
-     * @param object $parser Option parser
+     * @param object $optParser Option parser
      *
      * @return object Parsed command line parameters
      */
@@ -91,7 +92,7 @@ class Cli
         $optParser = new \Console_CommandLine();
         $optParser->name        = 'shpub';
         $optParser->description = 'Command line micropub client';
-        $optParser->version     = '0.1.0';
+        $optParser->version     = '0.3.0';
         $optParser->subcommand_required = true;
 
         $optParser->addOption(