chore: use_clap & clippy

This commit is contained in:
2021-07-18 12:08:59 +08:00
parent bcf097292f
commit d44df83c7f
13 changed files with 49 additions and 49 deletions

View File

@@ -1,5 +1,4 @@
use clap::{ArgMatches, SubCommand, App, Arg};
use crate::cmd::{Command, CommandError};
use authenticator::authenticatorservice::AuthenticatorService;
use authenticator::statecallback::StateCallback;
use authenticator::RegisterFlags;
@@ -7,6 +6,7 @@ use std::sync::mpsc::channel;
use crate::fido;
use crate::digest;
use crate::fido::{U2fV2Challenge, U2fRegistrationData};
use rust_util::util_clap::{Command, CommandError};
pub struct CommandImpl;
@@ -85,7 +85,7 @@ impl Command for CommandImpl {
return simple_error!("Parse registration data failed: {}", e);
}
}
Ok(())
Ok(None)
}
}
//