소스 검색

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