diff options
author | Dan Buch <daniel.buch@gmail.com> | 2010-05-06 14:50:04 -0400 |
---|---|---|
committer | Dan Buch <daniel.buch@gmail.com> | 2010-05-06 14:50:04 -0400 |
commit | d93ad35e2c8109cd8fd9758692832686982f0a6c (patch) | |
tree | 6da3c288a72bc3fc1eb00cc65485c219d22f65ee | |
parent | a4c6545d13dfa7f50f1ed4cc968788c1a1c736fa (diff) | |
download | hg_sshsign-d93ad35e2c8109cd8fd9758692832686982f0a6c.tar.bz2 hg_sshsign-d93ad35e2c8109cd8fd9758692832686982f0a6c.tar.xz hg_sshsign-d93ad35e2c8109cd8fd9758692832686982f0a6c.zip |
fixing the help text to use the actual command name
-rw-r--r-- | hgsshsign/__init__.py | 8 |
1 files 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): | |||
159 | raise util.Abort(str(inst)) | 159 | raise util.Abort(str(inst)) |
160 | 160 | ||
161 | 161 | ||
162 | NAME = 'sshsign' | ||
162 | cmdtable = { | 163 | cmdtable = { |
163 | "sshsign": | 164 | NAME: |
164 | (sign, | 165 | (sign, |
165 | [('l', 'local', None, _('make the signature local')), | 166 | [('l', 'local', None, _('make the signature local')), |
166 | ('f', 'force', None, _('sign even if the sigfile is modified')), | 167 | ('f', 'force', None, _('sign even if the sigfile is modified')), |
167 | ('', 'no-commit', None, _('do not commit the sigfile after signing')), | 168 | ('', 'no-commit', None, |
169 | _('do not commit the sigfile after signing')), | ||
168 | ('m', 'message', '', _('commit message')), | 170 | ('m', 'message', '', _('commit message')), |
169 | ] + commands.commitopts2, | 171 | ] + commands.commitopts2, |
170 | _('hg sign [OPTION]... [REVISION]...')), | 172 | _('hg %s [OPTION]... [REVISION]...' % NAME)), |
171 | } | 173 | } |