瀏覽代碼

--quiet should also work like individual --no-description

DZunke 11 年之前
父節點
當前提交
919beb90eb
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Command/GearmanWorkerExecuteCommand.php

+ 1 - 2
Command/GearmanWorkerExecuteCommand.php

@@ -62,8 +62,7 @@ class GearmanWorkerExecuteCommand extends ContainerAwareCommand
         $worker = $input->getArgument('worker');
         $workerStruct = $this->getContainer()->get('gearman')->getWorker($worker);
 
-        if (!$input->getOption('no-description')) {
-
+        if (!$input->getOption('no-description') || !$input->getOption('quiet')) {
             $this->getContainer()->get('gearman.describer')->describeWorker($output, $workerStruct, true);
         }