mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Handle option value with equal sign
option should be handled with an equal sign.
This commit is contained in:
parent
15274524b2
commit
b8d7a6cb6b
@ -252,7 +252,7 @@ class ParallelExecutor implements ExecutorInterface
|
||||
foreach (['log'] as $option) {
|
||||
$value = $this->input->getOption($option);
|
||||
if ($value) {
|
||||
$input .= " --$option $value";
|
||||
$input .= " --$option=$value";
|
||||
}
|
||||
}
|
||||
|
||||
@ -268,7 +268,7 @@ class ParallelExecutor implements ExecutorInterface
|
||||
foreach ($this->console->getUserDefinition()->getOptions() as $option) {
|
||||
$value = $this->input->getOption($option->getName());
|
||||
if ($value) {
|
||||
$input .= " --{$option->getName()} $value";
|
||||
$input .= " --{$option->getName()}=$value";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user