diff --git a/Cargo.lock b/Cargo.lock index 6f5793f..587c3e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -336,7 +336,7 @@ dependencies = [ [[package]] name = "card-cli" -version = "1.5.2" +version = "1.5.3" dependencies = [ "authenticator", "base64 0.13.1", diff --git a/Cargo.toml b/Cargo.toml index 1425e85..0178845 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "card-cli" -version = "1.5.2" +version = "1.5.3" authors = ["Hatter Jiang "] edition = "2018" diff --git a/src/cmd_pivecsign.rs b/src/cmd_pivecsign.rs index 5e62e98..3660730 100644 --- a/src/cmd_pivecsign.rs +++ b/src/cmd_pivecsign.rs @@ -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")) }