END
);
+
+ // Hide this command from listing if supported
+ // Command::setHidden() was not available before Symfony 3.2.0
+ if (method_exists($this, 'setHidden')) {
+ $this->setHidden(true);
+ }
}
/**
$alias = $input->getOption('program');
$multiple = (bool)$input->getOption('multiple');
- // When completing for multiple apps having absolute path in the alias doesn't make sense.
- if (!$alias && $multiple) {
+ if (!$alias) {
$alias = basename($program);
}