remove quiet option; we do not use it anyway
authorChristian Weiske <cweiske@cweiske.de>
Fri, 21 Feb 2014 05:42:57 +0000 (06:42 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 21 Feb 2014 05:44:09 +0000 (06:44 +0100)
src/bdrem/UserInterface.php

index 8fa001ffcb81b5093b50082ea43b28ac20e13ca4..1b8cb56c66d28768b0ff6e33f843ae3b35b2c16e 100644 (file)
@@ -97,15 +97,6 @@ abstract class UserInterface
                 'action'      => 'StoreString'
             )
         );
-        $parser->addOption(
-            'quiet',
-            array(
-                'short_name'  => '-q',
-                'long_name'   => '--quiet',
-                'description' => "Don't print status messages to stdout",
-                'action'      => 'StoreTrue'
-            )
-        );
         return $parser;
     }
 
@@ -117,7 +108,6 @@ abstract class UserInterface
             $this->config->daysNext    = $result->options['daysNext'];
             $this->config->daysPrev    = $result->options['daysPrev'];
             $this->config->renderer    = $result->options['renderer'];
-            $this->config->quiet       = $result->options['quiet'];
             $this->config->stopOnEmpty = $result->options['stopOnEmpty'];
             $this->config->setDate($result->options['date']);
         } catch (\Exception $exc) {