git.cweiske.de
/
shpub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nobody needs the --user option
[shpub.git]
/
src
/
shpub
/
Cli.php
diff --git
a/src/shpub/Cli.php
b/src/shpub/Cli.php
index 8ec4acbfea6a0f1431fa5be6fa95283ca0994985..7c6a5f3c70beb9bf19a4e716df9abf2a082db936 100644
(file)
--- a/
src/shpub/Cli.php
+++ b/
src/shpub/Cli.php
@@
-73,9
+73,6
@@
class Cli
$this->cfg->host = $this->cfg->hosts[$key];
}
}
$this->cfg->host = $this->cfg->hosts[$key];
}
}
- if ($opts['user'] !== null) {
- $this->cfg->host->user = $opts['user'];
- }
$this->cfg->setDebug($opts['debug']);
return $res;
$this->cfg->setDebug($opts['debug']);
return $res;
@@
-107,17
+104,6
@@
class Cli
'default' => null,
)
);
'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(
$optParser->addOption(
'debug',
array(