From d93ad35e2c8109cd8fd9758692832686982f0a6c Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Thu, 6 May 2010 14:50:04 -0400 Subject: fixing the help text to use the actual command name --- hgsshsign/__init__.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hgsshsign/__init__.py b/hgsshsign/__init__.py index 80c5d82..eff63bc 100644 --- a/hgsshsign/__init__.py +++ b/hgsshsign/__init__.py @@ -159,13 +159,15 @@ def sign(ui, repo, *revs, **opts): raise util.Abort(str(inst)) +NAME = 'sshsign' cmdtable = { - "sshsign": + NAME: (sign, [('l', 'local', None, _('make the signature local')), ('f', 'force', None, _('sign even if the sigfile is modified')), - ('', 'no-commit', None, _('do not commit the sigfile after signing')), + ('', 'no-commit', None, + _('do not commit the sigfile after signing')), ('m', 'message', '', _('commit message')), ] + commands.commitopts2, - _('hg sign [OPTION]... [REVISION]...')), + _('hg %s [OPTION]... [REVISION]...' % NAME)), } -- cgit v1.2.3