summaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-08-12 10:36:30 +0200
committerWerner Koch <wk@gnupg.org>2014-08-13 10:11:36 +0200
commit7d0492075ea638607309b3ea6a792b0e95ea7d98 (patch)
treef8e6b13600dea3fd35912afff59ff2e1ac0d6134 /doc/gpg.texi
parentpo: Remove extra LF from ja.po (diff)
downloadgnupg2-7d0492075ea638607309b3ea6a792b0e95ea7d98.tar.xz
gnupg2-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 'doc/gpg.texi')
-rw-r--r--doc/gpg.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index e0b0039a9..d0da83706 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -1096,6 +1096,13 @@ give the opposite meaning. The options are:
see @option{--attribute-fd} for the appropriate way to get photo data
for scripts and other frontends.
+ @item show-usage
+ @opindex list-options:show-usage
+ Show usage information for keys and subkeys in the standard key
+ listing. This is a list of letters indicating the allowed usage for a
+ key (@code{E}=encryption, @code{S}=signing, @code{C}=certification,
+ @code{A}=authentication). Defaults to no.
+
@item show-policy-urls
@opindex list-options:show-policy-urls
Show policy URLs in the @option{--list-sigs} or @option{--check-sigs}