summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/gpg.texi2
-rw-r--r--g10/import.c3
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. */