Explorar o código

Merge pull request #131 from amcastror/master

option no-description was not working, fixed
Marc Morera %!s(int64=10) %!d(string=hai) anos
pai
achega
3363a428fd
Modificáronse 1 ficheiros con 4 adicións e 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