1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

g10: Spell out --gen-revoke.

* g10/gpg.c (opts): Spell out option.
* doc/gpg.texi: Update accordingly.
* po: Update translations.

GnuPG-bug-id: 2700
Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-12-13 17:43:22 +01:00
parent 09163a6390
commit ec1bd3ae68
29 changed files with 39 additions and 36 deletions

View file

@ -459,7 +459,9 @@ static ARGPARSE_OPTS opts[] = {
ARGPARSE_c (aFullKeygen, "full-generate-key" ,
N_("full featured key pair generation")),
ARGPARSE_c (aFullKeygen, "full-gen-key", "@"),
ARGPARSE_c (aGenRevoke, "gen-revoke",N_("generate a revocation certificate")),
ARGPARSE_c (aGenRevoke, "generate-revocation-certificate",
N_("generate a revocation certificate")),
ARGPARSE_c (aGenRevoke, "gen-revoke", "@"),
ARGPARSE_c (aDeleteKeys,"delete-keys",
N_("remove keys from the public keyring")),
ARGPARSE_c (aDeleteSecretKeys, "delete-secret-keys",
@ -4544,7 +4546,7 @@ main (int argc, char **argv)
case aGenRevoke:
if( argc != 1 )
wrong_args("--gen-revoke user-id");
wrong_args("--generate-revocation-certificate user-id");
username = make_username(*argv);
gen_revoke( username );
xfree( username );