$this->cfg->host = $this->cfg->hosts[$key];
}
}
- if ($opts['user'] !== null) {
- $this->cfg->host->user = $opts['user'];
- }
$this->cfg->setDebug($opts['debug']);
return $res;
'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(