typo fix in command help text

TK Soh teekaysoh at yahoo.com
Tue Aug 16 03:38:55 CDT 2005


This patch fixes a few typo errors on the command help output 
(I am not sure if the change on 'diff' is the best though).

diff -r 302f83b85054 mercurial/commands.py
--- a/mercurial/commands.py	Mon Aug 15 19:46:41 2005
+++ b/mercurial/commands.py	Tue Aug 16 16:41:31 2005
@@ -1208,7 +1208,7 @@
         (add,
          [('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],
-         "hg add [FILE]..."),
+         "hg add [OPTION]... [FILE]..."),
     "addremove":
         (addremove,
          [('I', 'include', [], 'include path in search'),
@@ -1222,7 +1222,7 @@
           ('c', 'changeset', None, 'show changeset'),
           ('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],
-         'hg annotate [-r REV] [-u] [-n] [-c] FILE...'),
+         'hg annotate [OPTION]... FILE...'),
     "cat":
         (cat,
          [('o', 'output', "", 'output to file')],
@@ -1251,13 +1251,13 @@
         (debugwalk,
          [('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],
-         'debugwalk [OPTIONS]... [FILE]...'),
+         'debugwalk [OPTION]... [FILE]...'),
     "^diff":
         (diff,
          [('r', 'rev', [], 'revision'),
           ('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],
-         'hg diff [-r REV1 [-r REV2]] [FILE]...'),
+         'hg diff [-I] [-X] [-r REV1 [-r REV2]] [FILE]...'),
     "^export":
         (export,
          [('o', 'output', "", 'output to file')],
@@ -1266,7 +1266,7 @@
         (forget,
          [('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],
-         "hg forget FILE..."),
+         "hg forget [OPTION]... FILE..."),
     "heads":
         (heads,
          [('b', 'branches', None, 'find branch info')],
@@ -1286,7 +1286,7 @@
           ('f', 'fullpath', None, 'print complete paths'),
           ('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],
-         'hg locate [-r REV] [-f] [-0] [PATTERN]...'),
+         'hg locate [OPTION]... [PATTERN]...'),
     "^log|history":
         (log,
          [('r', 'rev', [], 'revision'),
@@ -1302,7 +1302,7 @@
     "^push":
         (push,
          [('f', 'force', None, 'force push')],
-         'hg push [DEST]'),
+         'hg push [-f] [DEST]'),
     "rawcommit":
         (rawcommit,
          [('p', 'parent', [], 'parent'),
@@ -1340,7 +1340,7 @@
           ('u', 'unknown', None, 'show only unknown (not tracked) files'),
           ('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],
-         "hg status [FILE]..."),
+         "hg status [OPTION]... [FILE]..."),
     "tag":
         (tag,
          [('l', 'local', None, 'make the tag local'),



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


More information about the Mercurial mailing list