Преглед на файлове

Merge pull request #131 from amcastror/master

option no-description was not working, fixed
Marc Morera преди 10 години
родител
ревизия
3363a428fd
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  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