summaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-01-14 12:22:33 +0100
committerWerner Koch <wk@gnupg.org>2016-01-14 12:22:33 +0100
commit360534bde770f4845669de223154216d249b954b (patch)
treefdb6fee4f48ee174144f2e3e392bc5a65398e988 /g10/gpg.c
parentdoc: Update whats-new-in-2.1 from gnupg-doc. (diff)
downloadgnupg2-360534bde770f4845669de223154216d249b954b.tar.xz
gnupg2-360534bde770f4845669de223154216d249b954b.zip
gpg: Make --list-options show-usage the default.
* g10/gpg.c (main): Add LIST_SHOW_USAGE. -- The usage flags are often useful and they don't take away much space in a key listing. Thus it is better to have them enabled by default. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--g10/gpg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 4287bda1a..3532550bb 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2226,7 +2226,8 @@ main (int argc, char **argv)
| VERIFY_SHOW_POLICY_URLS
| VERIFY_SHOW_STD_NOTATIONS
| VERIFY_SHOW_KEYSERVER_URLS);
- opt.list_options = LIST_SHOW_UID_VALIDITY;
+ opt.list_options = (LIST_SHOW_UID_VALIDITY
+ | LIST_SHOW_USAGE);
#ifdef NO_TRUST_MODELS
opt.trust_model = TM_ALWAYS;
#else