diff options
author | Werner Koch <[email protected]> | 2023-10-05 09:07:16 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-10-05 09:07:16 +0000 |
commit | b4449ffabc10faa5f532be22738f2ef61828c33b (patch) | |
tree | c17a9d8af3cc7325747da714b8743fe57da487a8 /tools/card-yubikey.c | |
parent | sm: Improve the octet string cramming for pkcs#12 (diff) | |
download | gnupg-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.c | 2 |
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; } |