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

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"))
}