style: code style

This commit is contained in:
2021-01-01 23:42:15 +08:00
parent eb1be1caf2
commit 695561da70
7 changed files with 59 additions and 19 deletions

View File

@@ -10,8 +10,10 @@ impl Command for CommandImpl {
fn subcommand<'a>(&self) -> App<'a, 'a> {
SubCommand::with_name(self.name()).about("Generate key pair subcommand")
.arg(Arg::with_name("output").long("output").short("o").required(true).takes_value(true).help("Key pair output"))
.arg(Arg::with_name("tag").long("tag").short("t").takes_value(true).help("Key pair output"))
.arg(Arg::with_name("output").long("output").short("o")
.required(true).takes_value(true).help("Key pair output")
)
.arg(Arg::with_name("tag").long("tag").short("t").takes_value(true).help("Key pair output"))
}
fn run(&self, _arg_matches: &ArgMatches, sub_arg_matches: &ArgMatches) -> CommandError {