chore: chall, chall-config
This commit is contained in:
@@ -11,10 +11,10 @@ impl Command for CommandImpl {
|
||||
fn name(&self) -> &str { "chall-config" }
|
||||
|
||||
fn subcommand<'a>(&self) -> App<'a, 'a> {
|
||||
SubCommand::with_name(self.name()).about("Yubikey challenge-response hmac config")
|
||||
SubCommand::with_name(self.name()).about("YubiKey challenge-response HMAC config")
|
||||
.arg(Arg::with_name("secret").short("s").long("secret").takes_value(true).help("Secret"))
|
||||
.arg(Arg::with_name("secret-hex").short("x").long("secret-hex").takes_value(true).help("Secret HEX"))
|
||||
.arg(Arg::with_name("yes-config-chall").long("yes-config-chall").help("Config chall key"))
|
||||
.arg(Arg::with_name("yes-config-chall").long("yes-config-chall").help("Config challenge-response key"))
|
||||
}
|
||||
|
||||
fn run(&self, _arg_matches: &ArgMatches, sub_arg_matches: &ArgMatches) -> CommandError {
|
||||
@@ -55,7 +55,7 @@ impl Command for CommandImpl {
|
||||
success!("Device configured");
|
||||
}
|
||||
} else {
|
||||
warning!("Yubikey not found");
|
||||
warning!("YubiKey not found");
|
||||
}
|
||||
|
||||
Ok(None)
|
||||
|
||||
Reference in New Issue
Block a user