summaryrefslogtreecommitdiffstats
path: root/tool/src/sqv-usage.rs
blob: d7e55716c336b62a3b26649b66cbf3e0c5c8a08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! A command-line frontend for Sequoia.
//!
//! # Usage
//!
//! ```text
//! sqv is a command-line OpenPGP signature verification tool.
//!
//! USAGE:
//!     sqv [FLAGS] [OPTIONS] <SIG-FILE> <FILE> --keyring <FILE>...
//!
//! FLAGS:
//!     -h, --help       Prints help information
//!         --trace      Trace execution.
//!     -V, --version    Prints version information
//!
//! OPTIONS:
//!     -r, --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
//!
//! ARGS:
//!     <SIG-FILE>    File containing the detached signature.
//!     <FILE>        File to verify.
//! ```

include!("sqv.rs");