1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-21 10:09:57 +01:00

gpg: Improve wording for only-pubkeys.

* g10/import.c (parse_import_options): Add a description to
only-pubkeys.
--

See gnupg-devel for a brief discussion.
This commit is contained in:
Werner Koch 2024-11-08 08:35:04 +01:00
parent 74e81f830d
commit d37971b45f
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 3 additions and 2 deletions

View File

@ -2156,7 +2156,7 @@ are available for all keyserver types, some common options are:
retrieving keys by subkey id.
@item only-pubkeys
Do now allow to import secret keys.
Do not import secret keys.
@item timeout
@itemx http-proxy=@var{value}

View File

@ -212,7 +212,8 @@ parse_import_options(char *str,unsigned int *options,int noisy)
/* New options. Right now, without description string. */
{"ignore-attributes", IMPORT_IGNORE_ATTRIBUTES, NULL, NULL},
{"only-pubkeys", IMPORT_ONLY_PUBKEYS, NULL, NULL},
{"only-pubkeys", IMPORT_ONLY_PUBKEYS, NULL,
N_("do not import secret keys")},
/* Hidden options which are enabled by default and are provided
* in case of problems with the respective implementation. */