aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.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/gpg.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 '')
-rw-r--r--g10/gpg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 1f840c6ed..666e970ec 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -1793,6 +1793,8 @@ parse_list_options(char *str)
{
{"show-photos",LIST_SHOW_PHOTOS,NULL,
N_("display photo IDs during key listings")},
+ {"show-usage",LIST_SHOW_USAGE,NULL,
+ N_("show key usage information during key listings")},
{"show-policy-urls",LIST_SHOW_POLICY_URLS,NULL,
N_("show policy URLs during signature listings")},
{"show-notations",LIST_SHOW_NOTATIONS,NULL,