Replaced hg status -p/--strip with -n/--no-status to not confuse with patch.
authorThomas Arendsen Hein <thomas@intevation.de>
Sat, 27 Aug 2005 23:23:32 +0200
changeset 1105 a906b018eaef
parent 1087 3a1a46dcd397
child 1106 95a044b73bd5
Replaced hg status -p/--strip with -n/--no-status to not confuse with patch.
mercurial/commands.py
--- a/mercurial/commands.py	Sat Aug 27 01:55:10 2005 -0700
+++ b/mercurial/commands.py	Sat Aug 27 23:23:32 2005 +0200
@@ -1351,7 +1351,7 @@
     
     for opt, char, changes in ([ct for ct in changetypes if opts[ct[0]]]
                                or changetypes):
-        if opts['strip']:
+        if opts['no_status']:
             format = "%%s%s" % end
         else:
             format = "%s %%s%s" % (char, end);
@@ -1635,7 +1635,7 @@
           ('a', 'added', None, 'show only added files'),
           ('r', 'removed', None, 'show only removed files'),
           ('u', 'unknown', None, 'show only unknown (not tracked) files'),
-          ('p', 'strip', None, 'strip status prefix'),
+          ('n', 'no-status', None, 'hide status prefix'),
           ('0', 'print0', None, 'end records with NUL'),
           ('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],