aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-08-12 08:36:30 +0000
committerWerner Koch <[email protected]>2014-08-13 08:11:36 +0000
commit7d0492075ea638607309b3ea6a792b0e95ea7d98 (patch)
treef8e6b13600dea3fd35912afff59ff2e1ac0d6134 /g10/keyedit.c
parentpo: Remove extra LF from ja.po (diff)
downloadgnupg-7d0492075ea638607309b3ea6a792b0e95ea7d98.tar.gz
gnupg-7d0492075ea638607309b3ea6a792b0e95ea7d98.zip
gpg: Add list-option "show-usage".
* g10/gpg.c (parse_list_options): Add "show-usage". * g10/options.h (LIST_SHOW_USAGE): New. * g10/keyid.c (usagestr_from_pk): Add arg FILL. Change caller. * g10/keylist.c (list_keyblock_print): Print usage info.
Diffstat (limited to 'g10/keyedit.c')
-rw-r--r--g10/keyedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index c5f02f7b6..77bd37f58 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -2991,7 +2991,7 @@ show_key_with_all_names (estream_t fp,
else
tty_fprintf (fp, _("expires: %s"), expirestr_from_pk (pk));
tty_fprintf (fp, " ");
- tty_fprintf (fp, _("usage: %s"), usagestr_from_pk (pk));
+ tty_fprintf (fp, _("usage: %s"), usagestr_from_pk (pk, 1));
tty_fprintf (fp, "\n");
if (pk->seckey_info