diff options
Diffstat (limited to 'tool/src/sq_cli.rs')
-rw-r--r-- | tool/src/sq_cli.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs index 9c5e50b9..51f78468 100644 --- a/tool/src/sq_cli.rs +++ b/tool/src/sq_cli.rs @@ -356,6 +356,14 @@ pub fn build() -> App<'static, 'static> { .long("with-password") .help("Prompt for a password to protect the \ generated key with.")) + .arg(Arg::with_name("expiry") + .value_name("EXPIRY") + .long("expiry") + // Catch negative numbers. + .allow_hyphen_values(true) + .help("When the key should expire. \ + Either 'N[ymwd]', for N years, months, \ + weeks, or days, or 'never'.")) .group(ArgGroup::with_name("cap-sign") .args(&["can-sign", "cannot-sign"])) |