mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: New option --full-timestrings.
* g10/options.h (opt): Add flags.full_timestrings. * g10/gpg.c (oFullTimestrings): New. (opts): New option. (main): Set new flag. * g10/keyid.c (dateonlystr_from_pk): New. (dateonlystr_from_sig): New. (datestr_from_pk): Divert to isotimestamp if requested. (datestr_from_sig): Ditto. (expirestr_from_pk): Ditto. (expirestr_from_sig): Ditto. (revokestr_from_pk): Ditto. * g10/import.c (impex_filter_getval): Use dateonlystr_from_sig and dateonlystr_from_pk. -- Quite helpful for debugging keys. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
14ac350f86
commit
86312b920a
6 changed files with 55 additions and 4 deletions
|
@ -2942,6 +2942,14 @@ forth to @var{epoch} which is the number of seconds elapsed since the year
|
|||
If you suffix @var{epoch} with an exclamation mark (!), the system time
|
||||
will appear to be frozen at the specified time.
|
||||
|
||||
@item --full-timestrings
|
||||
@opindex full-timestrings
|
||||
Change the format of printed creation and expiration times from just
|
||||
the date to the date and time. This is in general not useful and the
|
||||
same information is anyway available in @option{--with-colons} mode.
|
||||
These longer strings are also not well aligned with other printed
|
||||
data.
|
||||
|
||||
@item --enable-progress-filter
|
||||
@opindex enable-progress-filter
|
||||
Enable certain PROGRESS status outputs. This option allows frontends
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue