typo fix in command help text
authorTK Soh <teekaysoh@yahoo.com>
Tue, 16 Aug 2005 10:42:30 -0800
changeset 913 46581ad4bd27
parent 912 302f83b85054
child 914 8c850b81798b
typo fix in command help text 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).
mercurial/commands.py
--- a/mercurial/commands.py	Mon Aug 15 11:46:41 2005 -0800
+++ b/mercurial/commands.py	Tue Aug 16 10:42:30 2005 -0800
@@ -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'),