[PATCH] add missing options to command help
timeless
timeless at gmail.com
Fri Nov 27 01:03:11 CST 2009
# HG changeset patch
# User timeless at mozdev.org
# Date 1259305335 -7200
# Node ID 90b9f3a6d4162f50c0c813417051763528cdaeff
# Parent 5e4ef56b4d420ca8f28964114a49c26508ab34c0
Include missing options in command line help sample output
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3339,7 +3339,7 @@ table = {
('s', 'skip', False, _('skip testing changeset')),
('c', 'command', '', _('use command to check changeset state')),
('U', 'noupdate', False, _('do not update to target'))],
- _("[-gbsr] [-c CMD] [REV]")),
+ _("[-gbsr] [-U] [-c CMD] [REV]")),
"branch":
(branch,
[('f', 'force', None,
@@ -3352,7 +3352,7 @@ table = {
_('show only branches that have unmerged heads')),
('c', 'closed', False,
_('show normal and closed branches'))],
- _('[-a]')),
+ _('[-ac]')),
"bundle":
(bundle,
[('f', 'force', None,
@@ -3364,7 +3364,7 @@ table = {
('a', 'all', None, _('bundle all changesets in the repository')),
('t', 'type', 'bzip2', _('bundle compression type to use')),
] + remoteopts,
- _('[-f] [-a] [-r REV]... [--base REV]... FILE [DEST]')),
+ _('[-f] [-t TYPE] [-a] [-r REV]... [--base REV]... FILE [DEST]')),
"cat":
(cat,
[('o', 'output', '', _('print output to file with formatted name')),
@@ -3474,7 +3474,7 @@ table = {
('c', 'closed', False,
_('show normal and closed branch heads')),
] + templateopts,
- _('[-r STARTREV] [REV]...')),
+ _('[-ac] [-r STARTREV] [REV]...')),
"help": (help_, [], _('[TOPIC]')),
"identify|id":
(identify,
@@ -3551,7 +3551,7 @@ table = {
('r', 'rev', '', _('revision to merge')),
('P', 'preview', None,
_('review revisions to merge (no merge is performed)'))],
- _('[-f] [[-r] REV]')),
+ _('[-P] [-f] [[-r] REV]')),
"outgoing|out":
(outgoing,
[('f', 'force', None,
@@ -3671,14 +3671,14 @@ table = {
# -l/--local is already there, commitopts cannot be used
('m', 'message', '', _('use <text> as commit message')),
] + commitopts2,
- _('[-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...')),
+ _('[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...')),
"tags": (tags, [], ''),
"tip":
(tip,
[('p', 'patch', None, _('show patch')),
('g', 'git', None, _('use git extended diff format')),
] + templateopts,
- _('[-p]')),
+ _('[-p] [-g]')),
"unbundle":
(unbundle,
[('u', 'update', None,
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3339,7 +3339,7 @@ table = {
('s', 'skip', False, _('skip testing changeset')),
('c', 'command', '', _('use command to check changeset state')),
('U', 'noupdate', False, _('do not update to target'))],
- _("[-gbsr] [-c CMD] [REV]")),
+ _("[-gbsr] [-U] [-c CMD] [REV]")),
"branch":
(branch,
[('f', 'force', None,
@@ -3352,7 +3352,7 @@ table = {
_('show only branches that have unmerged heads')),
('c', 'closed', False,
_('show normal and closed branches'))],
- _('[-a]')),
+ _('[-ac]')),
"bundle":
(bundle,
[('f', 'force', None,
@@ -3364,7 +3364,7 @@ table = {
('a', 'all', None, _('bundle all changesets in the repository')),
('t', 'type', 'bzip2', _('bundle compression type to use')),
] + remoteopts,
- _('[-f] [-a] [-r REV]... [--base REV]... FILE [DEST]')),
+ _('[-f] [-t TYPE] [-a] [-r REV]... [--base REV]... FILE [DEST]')),
"cat":
(cat,
[('o', 'output', '', _('print output to file with formatted name')),
@@ -3474,7 +3474,7 @@ table = {
('c', 'closed', False,
_('show normal and closed branch heads')),
] + templateopts,
- _('[-r STARTREV] [REV]...')),
+ _('[-ac] [-r STARTREV] [REV]...')),
"help": (help_, [], _('[TOPIC]')),
"identify|id":
(identify,
@@ -3551,7 +3551,7 @@ table = {
('r', 'rev', '', _('revision to merge')),
('P', 'preview', None,
_('review revisions to merge (no merge is performed)'))],
- _('[-f] [[-r] REV]')),
+ _('[-P] [-f] [[-r] REV]')),
"outgoing|out":
(outgoing,
[('f', 'force', None,
@@ -3671,14 +3671,14 @@ table = {
# -l/--local is already there, commitopts cannot be used
('m', 'message', '', _('use <text> as commit message')),
] + commitopts2,
- _('[-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...')),
+ _('[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...')),
"tags": (tags, [], ''),
"tip":
(tip,
[('p', 'patch', None, _('show patch')),
('g', 'git', None, _('use git extended diff format')),
] + templateopts,
- _('[-p]')),
+ _('[-p] [-g]')),
"unbundle":
(unbundle,
[('u', 'update', None,
More information about the Mercurial-devel
mailing list