Bugfix: Stop command invocation without service
This commit is contained in:
parent
72c2f36434
commit
3a16d887c0
@ -31,7 +31,7 @@ class StopCommand extends Command
|
||||
$instanceName = $input->getOption("instance");
|
||||
$stopAll = $input->getOption("all");
|
||||
|
||||
if (!($instanceName || $stopAll)) {
|
||||
if (!($serviceName || $stopAll)) {
|
||||
$output->writeln("<error>You need to specify a service, or --all</>");
|
||||
return self::FAILURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user