[PATCH] only document --faked-system-time for gpg 2.1 and later

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Sep 3 16:20:37 CEST 2014


faked-system-time is not present at all in the codebase for 1.4; it is
present only for gpgsm and gpg-agent (not gpg itself) in 2.0; it
appears in gpg for 2.1.  This patch adjusts the gpg documentation
appropriately.

(The other way to resolve the problem would be to backport the
faked-system-time call to earlier branches of gpg)

Debian-Bug: 760354
---
 doc/gpg.texi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/gpg.texi b/doc/gpg.texi
index e9bcff3..0e6b4e9 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2487,12 +2487,14 @@ Enable debug output from the included CCID driver for smartcards.
 Note that this option is only available on some system.
 @end ifset
 
+ at ifset gpgtwoone
 @item --faked-system-time @var{epoch}
 @opindex faked-system-time
 This option is only useful for testing; it sets the system time back or
 forth to @var{epoch} which is the number of seconds elapsed since the year
 1970.  Alternatively @var{epoch} may be given as a full ISO time string
 (e.g. "20070924T154812").
+ at end ifset
 
 @item --enable-progress-filter
 @opindex enable-progress-filter
-- 
2.1.0




More information about the Gnupg-devel mailing list