[git] GnuPG - branch, master, updated. gnupg-2.1.10-117-g360534b
by Werner Koch
cvs at cvs.gnupg.org
Thu Jan 14 12:31:15 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, master has been updated
via 360534bde770f4845669de223154216d249b954b (commit)
from 99cdc15cf103cace11aa6eec9e13a3a8ecf13004 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 360534bde770f4845669de223154216d249b954b
Author: Werner Koch <wk at gnupg.org>
Date: Thu Jan 14 12:22:33 2016 +0100
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 at gnupg.org>
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 5510d57..4a70856 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -407,9 +407,7 @@ output can directly be added to ssh's @file{authorized_key} file.
By specifying the key to export using a key ID or a fingerprint
suffixed with an exclamation mark (!), a specific subkey or the
primary key can be exported. This does not even require that the key
-has the authentication capability flag set. To view the capability
-flags of a key use @code{--list-options show-usage} along with a key
-listing command.
+has the authentication capability flag set.
@item --import
@itemx --fast-import
@@ -1098,7 +1096,7 @@ give the opposite meaning. The options are:
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.
+ @code{A}=authentication). Defaults to yes.
@item show-policy-urls
@opindex list-options:show-policy-urls
diff --git a/g10/gpg.c b/g10/gpg.c
index 4287bda..3532550 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
-----------------------------------------------------------------------
Summary of changes:
doc/gpg.texi | 6 ++----
g10/gpg.c | 3 ++-
2 files changed, 4 insertions(+), 5 deletions(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list