Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
monkeysphere
monkeysign
Commits
3842988e
Commit
3842988e
authored
Oct 20, 2014
by
Antoine Beaupré
Browse files
clarify usage by refering to gnupg's options and clarify default email policy
parent
e6afdb2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
monkeysign/ui.py
View file @
3842988e
...
...
@@ -78,8 +78,10 @@ class MonkeysignUi(object):
help
=
_
(
'explain what we do along the way'
))
parser
.
add_option
(
'-n'
,
'--dry-run'
,
dest
=
'dryrun'
,
default
=
False
,
action
=
'store_true'
,
help
=
_
(
'do not actually do anything'
))
parser
.
add_option
(
'-u'
,
'--user'
,
dest
=
'user'
,
help
=
_
(
'user id to sign the key with'
))
parser
.
add_option
(
'--cert-level'
,
dest
=
'certlevel'
,
help
=
_
(
'certification level to sign the key with'
))
parser
.
add_option
(
'-u'
,
'--user'
,
dest
=
'user'
,
help
=
_
(
'user id to sign the key with (equivalent to GPG
\'
s --local-user option)'
))
parser
.
add_option
(
'--cert-level'
,
dest
=
'certlevel'
,
help
=
_
(
'certification level to sign the key with (equivalent to GPG
\'
s --default-cert-level)'
))
parser
.
add_option
(
'-l'
,
'--local'
,
dest
=
'local'
,
default
=
False
,
action
=
'store_true'
,
help
=
_
(
'import in normal keyring a local certification'
))
parser
.
add_option
(
'-k'
,
'--keyserver'
,
dest
=
'keyserver'
,
...
...
@@ -90,7 +92,7 @@ class MonkeysignUi(object):
parser
.
add_option
(
'--no-mail'
,
dest
=
'nomail'
,
default
=
False
,
action
=
'store_true'
,
help
=
_
(
'do not send email at all (default: use sendmail)'
))
parser
.
add_option
(
'-t'
,
'--to'
,
dest
=
'to'
,
help
=
_
(
'override destination email for testing (default:
u
se
the first uid on the key or sen
d email to each uid chosen)'
))
help
=
_
(
'override destination email for testing (default: se
nd individually encrypte
d email to each uid chosen)'
))
return
parser
def
parse_args
(
self
,
args
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment