Mercurial > hg-stable
changeset 24232:f9e8739018d5
histedit: use better meta-variable names than VALUE in help text
Before this change hg help histedit would use the default variable label:
--commands VALUE
...
-r --rev VALUE [+]
With this change the text will be in the usual help text style and a bit more
explanatory:
--commands FILE
...
-r --rev REV [+]
author | Anton Shestakov <engored@ya.ru> |
---|---|
date | Mon, 09 Mar 2015 14:32:17 +0800 |
parents | cc5b46f5318d |
children | b6bcfd160e14 |
files | hgext/histedit.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/histedit.py Mon Mar 09 14:10:42 2015 +0800 +++ b/hgext/histedit.py Mon Mar 09 14:32:17 2015 +0800 @@ -514,7 +514,7 @@ @command('histedit', [('', 'commands', '', - _('read history edits from the specified file')), + _('read history edits from the specified file'), _('FILE')), ('c', 'continue', False, _('continue an edit already in progress')), ('', 'edit-plan', False, _('edit remaining actions list')), ('k', 'keep', False, @@ -523,7 +523,7 @@ ('o', 'outgoing', False, _('changesets not found in destination')), ('f', 'force', False, _('force outgoing even for unrelated repositories')), - ('r', 'rev', [], _('first revision to be edited'))], + ('r', 'rev', [], _('first revision to be edited'), _('REV'))], _("ANCESTOR | --outgoing [URL]")) def histedit(ui, repo, *freeargs, **opts): """interactively edit changeset history