From: Gunnar Wrobel
Date: Sun, 3 Oct 2010 17:39:48 +0000 (+0200) Subject: Add the nocolor option. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=330ea725af3fd6360985bf4b4bc3b828a227272b;p=horde.git Add the nocolor option. --- diff --git a/components/lib/Components/Config/Cli.php b/components/lib/Components/Config/Cli.php index 14d0fa298..e63505717 100644 --- a/components/lib/Components/Config/Cli.php +++ b/components/lib/Components/Config/Cli.php @@ -80,6 +80,16 @@ implements Components_Config ) ) ); + $parser->addOption( + new Horde_Argv_Option( + '-N', + '--nocolor', + array( + 'action' => 'store_true', + 'help' => 'Avoid colors in the output' + ) + ) + ); } /**