Lines Matching defs:short
156 * @param string|null $short one character option (specified with -)
161 public function registerOption($long, $help, $short = null, $needsarg = false, $command = '')
170 'short' => $short
173 if ($short) {
174 if (strlen($short) > 1) {
178 $this->setup[$command]['short'][$short] = $long;
275 // short option
277 if (!isset($this->setup[$this->command]['short'][$opt])) {
280 $opt = $this->setup[$this->command]['short'][$opt]; // store it under long name
424 if ($opt['short']) {
425 $name .= '-' . $opt['short'];