diff --git a/src/cmd_pivdecrypt.rs b/src/cmd_pivdecrypt.rs index bcac144..784b8b6 100644 --- a/src/cmd_pivdecrypt.rs +++ b/src/cmd_pivdecrypt.rs @@ -12,7 +12,7 @@ impl Command for CommandImpl { fn name(&self) -> &str { "piv-decrypt" } fn subcommand<'a>(&self) -> App<'a, 'a> { - SubCommand::with_name(self.name()).about("PIV Sign subcommand") + SubCommand::with_name(self.name()).about("PIV Decrypt subcommand (RSA)") .arg(Arg::with_name("pin").short("p").long("pin").takes_value(true).default_value("123456").help("OpenPGP card user pin")) .arg(Arg::with_name("encrypted-data").long("encrypted-data").takes_value(true).help("Encrypted data")) .arg(Arg::with_name("json").long("json").help("JSON output")) diff --git a/src/cmd_pivecdh.rs b/src/cmd_pivecdh.rs index 44d99a1..46dfc4e 100644 --- a/src/cmd_pivecdh.rs +++ b/src/cmd_pivecdh.rs @@ -20,7 +20,7 @@ impl Command for CommandImpl { fn name(&self) -> &str { "piv-ecdh" } fn subcommand<'a>(&self) -> App<'a, 'a> { - SubCommand::with_name(self.name()).about("PIV ECDH subcommand") + SubCommand::with_name(self.name()).about("PIV ECDH subcommand (P-256)") .arg(Arg::with_name("pin").short("p").long("pin").takes_value(true).help("PIV card user pin")) .arg(Arg::with_name("slot").short("s").long("slot").takes_value(true).help("PIV slot, e.g. 82, 83 ...")) .arg(Arg::with_name("public").long("public").help("Public key"))