mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
g10: Spell out --desig-revoke.
* g10/gpg.c (opts): Rename option. * doc/gpg.texi: Update accordingly. -- This is a rather long name, but I believe that this command is rarely used, and in places where it is used frequently, the process is likely automated. GnuPG-bug-id: 2700 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
c252627c6f
commit
3c691097ca
2 changed files with 5 additions and 2 deletions
|
@ -476,6 +476,7 @@ static ARGPARSE_OPTS opts[] = {
|
|||
ARGPARSE_c (aEditKey, "key-edit" ,"@"),
|
||||
ARGPARSE_c (aPasswd, "change-passphrase", N_("change a passphrase")),
|
||||
ARGPARSE_c (aPasswd, "passwd", "@"),
|
||||
ARGPARSE_c (aDesigRevoke, "generate-designated-revocation", "@"),
|
||||
ARGPARSE_c (aDesigRevoke, "desig-revoke","@" ),
|
||||
ARGPARSE_c (aExport, "export" , N_("export keys") ),
|
||||
ARGPARSE_c (aSendKeys, "send-keys" , N_("export keys to a keyserver") ),
|
||||
|
@ -4555,7 +4556,7 @@ main (int argc, char **argv)
|
|||
|
||||
case aDesigRevoke:
|
||||
if (argc != 1)
|
||||
wrong_args ("--desig-revoke user-id");
|
||||
wrong_args ("--generate-designated-revocation user-id");
|
||||
username = make_username (*argv);
|
||||
gen_desig_revoke (ctrl, username, locusr);
|
||||
xfree (username);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue