feat: v1.11.12, optimize no-pin

This commit is contained in:
2025-03-28 23:25:53 +08:00
parent 3a40d7f0ad
commit 417e3f6a49
11 changed files with 17 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ impl Command for CommandImpl {
SubCommand::with_name(self.name()).about("PIV sign(with SHA256) subcommand")
.arg(cmdutil::build_slot_arg())
.arg(cmdutil::build_pin_arg())
.arg(Arg::with_name("no-pin").long("no-pin").help("No PIN"))
.arg(cmdutil::build_no_pin_arg())
.arg(Arg::with_name("file").short("f").long("file").takes_value(true).required(true).help("Input file"))
.arg(Arg::with_name("filename").short("n").long("filename").takes_value(true).help("Filename"))
.arg(Arg::with_name("sign-file").short("S").long("sign-file").takes_value(false).help("Sign file"))