Explorar el Código

Merge pull request #131 from amcastror/master

option no-description was not working, fixed
Marc Morera hace 10 años
padre
commit
3363a428fd
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      Command/GearmanJobExecuteCommand.php

+ 4 - 1
Command/GearmanJobExecuteCommand.php

@@ -163,7 +163,10 @@ class GearmanJobExecuteCommand extends AbstractGearmanCommand
             ->gearmanClient
             ->getJob($job);
 
-        if (!$input->getOption('quiet')) {
+        if (
+            !$input->getOption('no-description') &&
+            !$input->getOption('quiet')
+        ) {
 
             $this
                 ->gearmanDescriber