diff options
Diffstat (limited to 'tool/src/sq_cli.rs')
-rw-r--r-- | tool/src/sq_cli.rs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs index 06ccde14..722ce1f2 100644 --- a/tool/src/sq_cli.rs +++ b/tool/src/sq_cli.rs @@ -129,7 +129,13 @@ pub fn build() -> App<'static, 'static> { .possible_values(&["none", "pad", "zip", "zlib", "bzip2"]) .default_value("pad") - .help("Selects compression scheme to use"))) + .help("Selects compression scheme to use")) + .arg(Arg::with_name("time").value_name("TIME") + .long("time") + .short("t") + .help("Chooses keys valid at the specified time and \ + sets the signature's creation time")) + ) .subcommand(SubCommand::with_name("sign") .display_order(25) @@ -164,7 +170,12 @@ pub fn build() -> App<'static, 'static> { .value_name("TSK-FILE") .number_of_values(1) .help("Secret key to sign with, given as a file \ - (can be given multiple times)"))) + (can be given multiple times)")) + .arg(Arg::with_name("time").value_name("TIME") + .long("time") + .short("t") + .help("Chooses keys valid at the specified time and \ + sets the signature's creation time"))) .subcommand(SubCommand::with_name("verify") .display_order(26) .about("Verifies a message") |