From b4449ffabc10faa5f532be22738f2ef61828c33b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 5 Oct 2023 11:07:16 +0200 Subject: [PATCH] gpg-card: Give a hint on how to get help for the "yubikey" command. * tools/card-yubikey.c (yubikey_commands): Print a hint. --- tools/card-yubikey.c | 2 ++ 1 file changed, 2 insertions(+) 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; }