mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <justus@g10code.com>
This commit is contained in:
parent
9147737f1c
commit
892c827e72
8 changed files with 23 additions and 20 deletions
|
@ -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:"-");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue