From 41dee2099c2ae945140ba5a9927f14270d997c60 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 8 Sep 2016 21:12:41 +0200 Subject: [PATCH] nobody needs the --user option --- src/shpub/Cli.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/shpub/Cli.php b/src/shpub/Cli.php index 8ec4acb..7c6a5f3 100644 --- a/src/shpub/Cli.php +++ b/src/shpub/Cli.php @@ -73,9 +73,6 @@ class Cli $this->cfg->host = $this->cfg->hosts[$key]; } } - if ($opts['user'] !== null) { - $this->cfg->host->user = $opts['user']; - } $this->cfg->setDebug($opts['debug']); return $res; @@ -107,17 +104,6 @@ class Cli 'default' => null, ) ); - $optParser->addOption( - 'user', - array( - 'short_name' => '-u', - 'long_name' => '--user', - 'description' => 'User URL', - 'help_name' => 'URL', - 'action' => 'StoreString', - 'default' => null, - ) - ); $optParser->addOption( 'debug', array( -- 2.30.2