color: mark --no-color as deprecated (--color=never has the same effect)
authorBrodie Rao <me+hg@dackz.net>
Wed, 23 Sep 2009 15:58:07 +0200
changeset 9478 32ec70799172
parent 9477 a4f6e4427b65
child 9481 829f5c2a2c2e
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.
hgext/color.py
--- 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: