projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3774910
)
Add the nocolor option.
author
Gunnar Wrobel
<p@rdus.de>
Sun, 3 Oct 2010 17:39:48 +0000
(19:39 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Sun, 3 Oct 2010 17:45:51 +0000
(19:45 +0200)
components/lib/Components/Config/Cli.php
patch
|
blob
|
history
diff --git
a/components/lib/Components/Config/Cli.php
b/components/lib/Components/Config/Cli.php
index
14d0fa2
..
e635057
100644
(file)
--- 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'
+ )
+ )
+ );
}
/**