diff options
author | Werner Koch <wk@gnupg.org> | 2024-11-08 08:35:04 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-11-08 08:35:04 +0100 |
commit | d37971b45f7dbb311a7e5d3358afc617fd39ce74 (patch) | |
tree | 730788360d9cd7daf4dd5278b12d5905eb7a1bab | |
parent | gpgtar: Make sure to create upper directories for regular files. (diff) | |
download | gnupg2-d37971b45f7dbb311a7e5d3358afc617fd39ce74.tar.xz gnupg2-d37971b45f7dbb311a7e5d3358afc617fd39ce74.zip |
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.
-rw-r--r-- | doc/gpg.texi | 2 | ||||
-rw-r--r-- | g10/import.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index 9aac29fb2..f2bb95d04 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -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} diff --git a/g10/import.c b/g10/import.c index 65f911f30..ee41bcf24 100644 --- a/g10/import.c +++ b/g10/import.c @@ -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. */ |