Przeglądaj źródła

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

DZunke 11 lat temu
rodzic
commit
919beb90eb
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      Command/GearmanWorkerExecuteCommand.php

+ 1 - 2
Command/GearmanWorkerExecuteCommand.php

@@ -62,8 +62,7 @@ class GearmanWorkerExecuteCommand extends ContainerAwareCommand
         $worker = $input->getArgument('worker');
         $worker = $input->getArgument('worker');
         $workerStruct = $this->getContainer()->get('gearman')->getWorker($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);
             $this->getContainer()->get('gearman.describer')->describeWorker($output, $workerStruct, true);
         }
         }