summaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-06-06 16:55:03 +0200
committerWerner Koch <wk@gnupg.org>2016-06-06 16:56:18 +0200
commit1d1cb86694fb2223de1da0b3bfffb5c62f505847 (patch)
treec8f2878ce92e526f4cf6b6a3a2d2bb40386a5d60 /g10/options.h
parentgpg: Implement --keyid-format=none. (diff)
downloadgnupg2-1d1cb86694fb2223de1da0b3bfffb5c62f505847.tar.xz
gnupg2-1d1cb86694fb2223de1da0b3bfffb5c62f505847.zip
gpg: Add option --with-subkey-fingerprint.
* g10/gpg.c (oWithSubkeyFingerprint): New. (opts): Add --with-subkey-fingerprint[s]. (main): Set that option. * g10/options.h (struct opt): Add 'with_subkey_fingerprint'. * g10/keylist.c (list_keyblock_print): Print subkey fingerprint. (print_fingerprint): Tweak printing to use compact format if desirable. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index 55f974a8f..2ae1724c3 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -71,6 +71,7 @@ struct
int with_key_data;
int with_icao_spelling; /* Print ICAO spelling with fingerprints. */
int with_fingerprint; /* Option --with-fingerprint active. */
+ int with_subkey_fingerprint; /* Option --with-subkey-fingerprint active. */
int with_keygrip; /* Option --with-keygrip active. */
int with_secret; /* Option --with-secret active. */
int with_wkd_hash; /* Option --with-wkd-hash. */