histedit: use better meta-variable names than VALUE in help text
authorAnton Shestakov <engored@ya.ru>
Mon, 09 Mar 2015 14:32:17 +0800
changeset 24232 f9e8739018d5
parent 24231 cc5b46f5318d
child 24233 b6bcfd160e14
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 [+]
hgext/histedit.py
--- 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