From 330ea725af3fd6360985bf4b4bc3b828a227272b Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Sun, 3 Oct 2010 19:39:48 +0200 Subject: [PATCH] Add the nocolor option. --- components/lib/Components/Config/Cli.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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' + ) + ) + ); } /** -- 2.11.0