changeset 9478:32ec70799172

color: mark --no-color as deprecated (--color=never has the same effect) This should've been marked deprecated when --color was first introduced, but it was something I overlooked.
author Brodie Rao <me+hg@dackz.net>
date Wed, 23 Sep 2009 15:58:07 +0200
parents a4f6e4427b65
children 829f5c2a2c2e
files hgext/color.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/color.py	Wed Sep 23 15:57:25 2009 +0200
+++ b/hgext/color.py	Wed Sep 23 15:58:07 2009 +0200
@@ -256,7 +256,7 @@
     entry = extensions.wrapcommand(table, cmd, nocolor)
     entry[1].extend([
         ('', 'color', 'auto', _("when to colorize (always, auto, or never)")),
-        ('', 'no-color', None, _("don't colorize output")),
+        ('', 'no-color', None, _("don't colorize output (DEPRECATED)")),
     ])
 
     for status in effectsmap: