scd:nks: Return USAGE information for KEYINFO command.
* scd/app-nks.c (set_usage_string): New. (do_learn_status_core, do_readkey): Use set_usage_string. (do_with_keygrip): Add USAGE to call send_keyinfo, using set_usage_string. * scd/command.c (send_keyinfo): Add arg usage.
Backported-from-master: 5264d3f58e8a8362900c3518bdd683ff9a23cccc
This backports only the NKS parts of the original patch
- Signed-off-by: Werner Koch <wk@gnupg.org>
- GnuPG-bug-id: T6252