Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 40346:943248e47864
commands: adjust metavariables as appropriate
Apart from looking better in hg help command, these strings are also helpful
when generating shell completions programmatically.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 17 Oct 2018 21:00:36 +0800 |
parents | fa88170c10bb |
children | b14fdf1fb615 |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Oct 14 11:16:22 2018 -0400 +++ b/mercurial/commands.py Wed Oct 17 21:00:36 2018 +0800 @@ -1996,7 +1996,7 @@ @command('export', [('B', 'bookmark', '', - _('export changes only reachable by given bookmark')), + _('export changes only reachable by given bookmark'), _('BOOKMARK')), ('o', 'output', '', _('print output to file with formatted name'), _('FORMAT')), ('', 'switch-parent', None, _('diff against the second parent')), @@ -2257,7 +2257,7 @@ ('D', 'currentdate', False, _('record the current date as commit date')), ('U', 'currentuser', False, - _('record the current user as committer'), _('DATE'))] + _('record the current user as committer'))] + commitopts2 + mergetoolopts + dryrunopts, _('[OPTION]... [-r REV]... REV...'), helpcategory=command.CATEGORY_CHANGE_MANAGEMENT) @@ -3016,9 +3016,10 @@ [('e', 'extension', None, _('show only help for extensions')), ('c', 'command', None, _('show only help for commands')), ('k', 'keyword', None, _('show topics matching keyword')), - ('s', 'system', [], _('show help for specific platform(s)')), + ('s', 'system', [], + _('show help for specific platform(s)'), _('PLATFORM')), ], - _('[-ecks] [TOPIC]'), + _('[-eck] [-s PLATFORM] [TOPIC]'), helpcategory=command.CATEGORY_HELP, norepo=True, intents={INTENT_READONLY})