style: code style
This commit is contained in:
@@ -12,9 +12,15 @@ impl Command for CommandImpl {
|
||||
|
||||
fn subcommand<'a>(&self) -> App<'a, 'a> {
|
||||
SubCommand::with_name(self.name()).about("Query credit contract subcommand")
|
||||
.arg(Arg::with_name("name").long("name").short("n").required(true).takes_value(true).help("Contract name"))
|
||||
.arg(Arg::with_name("account").long("account").short("a").required(true).takes_value(true).help("Account"))
|
||||
.arg(Arg::with_name("key").long("key").short("k").required(true).takes_value(true).help("Key pair"))
|
||||
.arg(Arg::with_name("name").long("name").short("n")
|
||||
.required(true).takes_value(true).help("Contract name")
|
||||
)
|
||||
.arg(Arg::with_name("account").long("account").short("a")
|
||||
.required(true).takes_value(true).help("Account")
|
||||
)
|
||||
.arg(Arg::with_name("key").long("key").short("k")
|
||||
.required(true).takes_value(true).help("Key pair")
|
||||
)
|
||||
}
|
||||
|
||||
fn run(&self, _arg_matches: &ArgMatches, sub_arg_matches: &ArgMatches) -> CommandError {
|
||||
|
||||
Reference in New Issue
Block a user