feat: v1.5.3, add -x, -i for piv-ecsign

This commit is contained in:
2023-04-22 10:45:04 +08:00
parent a5bb172bf5
commit 689cda9446
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -336,7 +336,7 @@ dependencies = [
[[package]]
name = "card-cli"
version = "1.5.2"
version = "1.5.3"
dependencies = [
"authenticator",
"base64 0.13.1",

View File

@@ -1,6 +1,6 @@
[package]
name = "card-cli"
version = "1.5.2"
version = "1.5.3"
authors = ["Hatter Jiang <jht5945@gmail.com>"]
edition = "2018"

View File

@@ -18,8 +18,8 @@ impl Command for CommandImpl {
SubCommand::with_name(self.name()).about("PIV EC Sign subcommand")
.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("hash-hex").long("hash-hex").takes_value(true).help("Hash"))
.arg(Arg::with_name("input").long("input").takes_value(true).help("Input"))
.arg(Arg::with_name("hash-hex").short("x").long("hash-hex").takes_value(true).help("Hash"))
.arg(Arg::with_name("input").short("i").long("input").takes_value(true).help("Input"))
.arg(Arg::with_name("json").long("json").help("JSON output"))
}