chore: reorg

This commit is contained in:
2022-04-09 16:19:45 +08:00
parent 77771397a6
commit b4ea907fed
2 changed files with 10 additions and 5 deletions

View File

@@ -135,7 +135,6 @@ impl Command for CommandImpl {
}
fn run(&self, _arg_matches: &ArgMatches, sub_arg_matches: &ArgMatches) -> CommandError {
warning!("WORKING!!!");
let pin_opt = sub_arg_matches.value_of("pin");
let pin = opt_value_result!(pin_opt, "Pin must be assigned");
if pin.len() < 8 { return simple_error!("Admin pin length:{}, must >= 8!", pin.len()); }
@@ -195,7 +194,7 @@ impl Command for CommandImpl {
let force_make = sub_arg_matches.is_present("force-make");
if !force_make {
warning!("Force make is OFF, skip write private keys to card!");
warning!("Force make is OFF, add argument --force-make to open, skip write private keys to card!");
return Ok(None);
}