summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hgsshsign/__init__.py8
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
162NAME = 'sshsign'
162cmdtable = { 163cmdtable = {
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}