X-Git-Url: https://git.cweiske.de/shpub.git/blobdiff_plain/03c6c0364363b228d1f651a881c36017099dda9d..41dee2099c2ae945140ba5a9927f14270d997c60:/src/shpub/Cli.php 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(