diff options
author | Justus Winter <[email protected]> | 2016-11-14 15:59:23 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-12-13 16:30:55 +0000 |
commit | 892c827e72b1396e3b58e2f8869cc48328a2b59c (patch) | |
tree | 7e1bb783297cb7e0d215ab436f5ebc83a6999a79 /sm/gpgsm.c | |
parent | g10,sm: Spell out --check-sigs. (diff) | |
download | gnupg-892c827e72b1396e3b58e2f8869cc48328a2b59c.tar.gz gnupg-892c827e72b1396e3b58e2f8869cc48328a2b59c.zip |
g10,sm: Spell out --gen-key.
* g10/gpg.c (opts): Spell out option.
* sm/gpgsm.c (opts): Likewise.
* doc/gpg.texi: Update accordingly.
GnuPG-bug-id: 2700
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | sm/gpgsm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 95829966f..a2ec441d6 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -210,7 +210,8 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_c (aListSecretKeys, "list-secret-keys", N_("list secret keys")), ARGPARSE_c (aListChain, "list-chain", N_("list certificate chain")), ARGPARSE_c (aFingerprint, "fingerprint", N_("list keys and fingerprints")), - ARGPARSE_c (aKeygen, "gen-key", N_("generate a new key pair")), + ARGPARSE_c (aKeygen, "generate-key", N_("generate a new key pair")), + ARGPARSE_c (aKeygen, "gen-key", "@"), ARGPARSE_c (aDeleteKey, "delete-keys", N_("remove keys from the public keyring")), /*ARGPARSE_c (aSendKeys, "send-keys", N_("export keys to a keyserver")),*/ @@ -1904,7 +1905,7 @@ main ( int argc, char **argv) else if (argc == 1) /* From file. */ fpin = open_es_fread (*argv, "r"); else - wrong_args ("--gen-key --batch [parmfile]"); + wrong_args ("--generate-key --batch [parmfile]"); } fpout = open_es_fwrite (opt.outfile?opt.outfile:"-"); |