mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-04 21:35:33 +00:00
Enforce lint reasons
This commit is contained in:
parent
61850aa1ed
commit
3bb6d1456d
3 changed files with 4 additions and 6 deletions
|
@ -56,14 +56,13 @@ enum Command {
|
|||
}
|
||||
|
||||
#[derive(Debug, clap::Subcommand)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
enum DbCommand {
|
||||
/// Create and initialize database.
|
||||
Init,
|
||||
/// Set user property, possibly adding new users.
|
||||
SetUser {
|
||||
#[command(flatten)]
|
||||
user: User,
|
||||
user: Box<User>,
|
||||
|
||||
#[arg(long, value_parser = flag_parser::<ServerPermission>)]
|
||||
permission: ServerPermission,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue