From 2752e81f892568a9725fdd8d6a997a1cc80d2f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Tue, 4 Jan 2022 12:30:22 +0100 Subject: [PATCH] core: Add new option --secret-subkey to help texts. * src/gpgme-tool.c (hlp_export): Add new option. * tests/run-export.c (show_usage): Print new option. -- GnuPG-bug-id: 5757 --- src/gpgme-tool.c | 3 ++- tests/run-export.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gpgme-tool.c b/src/gpgme-tool.c index b05664e3..e45ea12d 100644 --- a/src/gpgme-tool.c +++ b/src/gpgme-tool.c @@ -2658,7 +2658,8 @@ cmd_import (assuan_context_t ctx, char *line) static const char hlp_export[] = - "EXPORT [--extern] [--minimal] [--secret [--pkcs12] [--raw]] []\n" + "EXPORT [--extern] [--minimal]\n" + " [--secret [--pkcs12] [--raw]|--secret-subkey] []\n" "\n" "Export the keys described by PATTERN. Write the\n" "the output to the object set by the last OUTPUT command."; diff --git a/tests/run-export.c b/tests/run-export.c index f071b8c2..3e328826 100644 --- a/tests/run-export.c +++ b/tests/run-export.c @@ -59,6 +59,7 @@ show_usage (int ex) " --ssh export as ssh public key\n" " --extern send keys to the keyserver (TAKE CARE!)\n" " --secret export secret keys instead of public keys\n" + " --secret-subkey export secret subkeys instead of public keys\n" " --raw use PKCS#1 as secret key format\n" " --pkcs12 use PKCS#12 as secret key format\n" , stderr);