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,8 +1,8 @@
use clap::{ArgMatches, SubCommand, App, Arg};
use crate::cmd::{Command, CommandError};
use yubico_manager::Yubico;
use yubico_manager::config::{Config, Mode, Slot};
use std::ops::Deref;
use rust_util::util_clap::{Command, CommandError};
pub struct CommandImpl;
@@ -55,6 +55,6 @@ impl Command for CommandImpl {
warning!("Yubikey not found");
}
Ok(())
Ok(None)
}
}