# HG changeset patch # User TK Soh # Date 1124217750 28800 # Node ID 46581ad4bd27e6f14c11a974573a05ebfc4c0147 # Parent 302f83b8505410863e4e77ebb594e2c2ef6cb2dc 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). diff -r 302f83b85054 -r 46581ad4bd27 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'),