diff options
Diffstat (limited to 'sqv/src/sqv-usage.rs')
-rw-r--r-- | sqv/src/sqv-usage.rs | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sqv/src/sqv-usage.rs b/sqv/src/sqv-usage.rs index 534fc409..83a0828e 100644 --- a/sqv/src/sqv-usage.rs +++ b/sqv/src/sqv-usage.rs @@ -14,14 +14,21 @@ //! -V, --version Prints version information //! //! OPTIONS: -//! --keyring <FILE>... A keyring. Can be given multiple times. -//! --not-after <YYYY-MM-DD> Consider signatures created after YYYY-MM-DD as invalid. Default: now -//! --not-before <YYYY-MM-DD> Consider signatures created before YYYY-MM-DD as invalid. Default: no constraint -//! -n, --signatures <N> The number of valid signatures to return success. Default: 1 +//! --keyring <FILE>... A keyring. Can be given multiple times. +//! --not-after <TIMESTAMP> Consider signatures created after TIMESTAMP as invalid. If a date is given, +//! 23:59:59 is used for the time. +//! [default: now] +//! --not-before <TIMESTAMP> Consider signatures created before TIMESTAMP as invalid. If a date is given, +//! 00:00:00 is used for the time. +//! [default: no constraint] +//! -n, --signatures <N> The number of valid signatures to return success. Default: 1 //! //! ARGS: //! <SIG-FILE> File containing the detached signature. //! <FILE> File to verify. +//! +//! TIMESTAMPs must be given in ISO 9801 format (e.g. '2017-03-04T13:25:35Z', '2017-03-04T13:25', '20170304T1325+0830', +//! '2017-03-04', '2017031', ...). If no timezone is specified, UTC is assumed. //! ``` include!("sqv.rs"); |