浏览代码

option no-description was not working, fixed

Matias Castro 10 年之前
父节点
当前提交
89ab9052cf
共有 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