--- a/mercurial/commands.py Fri Jul 22 08:11:49 2005 +0100
+++ b/mercurial/commands.py Fri Jul 22 08:47:35 2005 +0100
@@ -1078,16 +1078,16 @@
"^add": (add,
[('I', 'include', [], 'include path in search'),
('X', 'exclude', [], 'exclude path from search')],
- "hg add [OPTIONS] [FILES]"),
- "addremove": (addremove, [], "hg addremove [FILES]"),
+ "hg add [FILE]..."),
+ "addremove": (addremove, [], "hg addremove [FILE]..."),
"^annotate":
(annotate,
- [('I', 'include', [], 'include path in search'),
- ('X', 'exclude', [], 'exclude path from search'),
- ('r', 'rev', '', 'revision'),
+ [('r', 'rev', '', 'revision'),
('u', 'user', None, 'show user'),
('n', 'number', None, 'show revision number'),
- ('c', 'changeset', None, 'show changeset')],
+ ('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...'),
"cat":
(cat,
@@ -1101,7 +1101,7 @@
(commit,
[('A', 'addremove', None, 'run add/remove during commit'),
('m', 'text', "", 'commit message'),
- ('t', 'text', "", 'commit message (deprecated)'),
+ ('t', 'text', "", 'commit message (deprecated: use -m)'),
('l', 'logfile', "", 'commit text file'),
('d', 'date', "", 'date code'),
('u', 'user', "", 'user')],
@@ -1113,9 +1113,9 @@
"debugindexdot": (debugindexdot, [], 'debugindexdot FILE'),
"^diff":
(diff,
- [('I', 'include', [], 'include path in search'),
- ('X', 'exclude', [], 'exclude path from search'),
- ('r', 'rev', [], 'revision')],
+ [('r', 'rev', [], 'revision'),
+ ('I', 'include', [], 'include path in search'),
+ ('X', 'exclude', [], 'exclude path from search')],
'hg diff [-r REV1 [-r REV2]] [FILE]...'),
"^export":
(export,
@@ -1133,12 +1133,12 @@
"^init": (init, [], 'hg init'),
"locate":
(locate,
- [('0', 'print0', None, 'end records with NUL'),
+ [('r', 'rev', '', 'revision'),
+ ('0', 'print0', None, 'end records with NUL'),
('f', 'fullpath', None, 'print complete paths'),
('I', 'include', [], 'include path in search'),
- ('r', 'rev', '', 'revision'),
('X', 'exclude', [], 'exclude path from search')],
- 'hg locate [OPTION]... [PATTERN]...'),
+ 'hg locate [-r REV] [-f] [-0] [PATTERN]...'),
"^log|history":
(log,
[('r', 'rev', [], 'revision'),
@@ -1167,7 +1167,7 @@
(revert,
[("n", "nonrecursive", None, "don't recurse into subdirs"),
("r", "rev", "", "revision")],
- "hg revert [-n] [-r REV] NAME..."),
+ "hg revert [-n] [-r REV] [NAME]..."),
"root": (root, [], "hg root"),
"^serve":
(serve,
@@ -1182,7 +1182,7 @@
"^status": (status,
[('I', 'include', [], 'include path in search'),
('X', 'exclude', [], 'exclude path from search')],
- 'hg status [OPTION]... [FILE]...'),
+ 'hg status [FILE]...'),
"tag":
(tag,
[('l', 'local', None, 'make the tag local'),