aboutsummaryrefslogtreecommitdiffstats
path: root/tools/card-yubikey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-10-05 09:07:16 +0000
committerWerner Koch <[email protected]>2023-10-05 09:07:16 +0000
commitb4449ffabc10faa5f532be22738f2ef61828c33b (patch)
treec17a9d8af3cc7325747da714b8743fe57da487a8 /tools/card-yubikey.c
parentsm: Improve the octet string cramming for pkcs#12 (diff)
downloadgnupg-b4449ffabc10faa5f532be22738f2ef61828c33b.tar.gz
gnupg-b4449ffabc10faa5f532be22738f2ef61828c33b.zip
gpg-card: Give a hint on how to get help for the "yubikey" command.
* tools/card-yubikey.c (yubikey_commands): Print a hint.
Diffstat (limited to 'tools/card-yubikey.c')
-rw-r--r--tools/card-yubikey.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/card-yubikey.c b/tools/card-yubikey.c
index ece7edc48..63d49c762 100644
--- a/tools/card-yubikey.c
+++ b/tools/card-yubikey.c
@@ -332,6 +332,8 @@ yubikey_commands (card_info_t info, estream_t fp, int argc, const char *argv[])
cmd = ykDISABLE;
else
{
+ log_info ("Please use \"%s\" to list the available sub-commands\n",
+ "help yubikey");
err = gpg_error (GPG_ERR_UNKNOWN_COMMAND);
goto leave;
}