diff options
| author | Werner Koch <[email protected]> | 2016-06-06 14:55:03 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2016-06-06 14:56:18 +0000 |
| commit | 1d1cb86694fb2223de1da0b3bfffb5c62f505847 (patch) | |
| tree | c8f2878ce92e526f4cf6b6a3a2d2bb40386a5d60 /g10/options.h | |
| parent | gpg: Implement --keyid-format=none. (diff) | |
| download | gnupg-1d1cb86694fb2223de1da0b3bfffb5c62f505847.tar.gz gnupg-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 <[email protected]>
Diffstat (limited to 'g10/options.h')
| -rw-r--r-- | g10/options.h | 1 |
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. */ |
