style: Use Args instead of clap::Args
This commit is contained in:
parent
c3da322a90
commit
09f9fd3703
@ -1,6 +1,6 @@
|
||||
use std::path::PathBuf;
|
||||
use formatx::formatx;
|
||||
use clap::{Parser, Subcommand};
|
||||
use clap::{Args, Parser, Subcommand};
|
||||
use mwbot::parsoid::WikiMultinode;
|
||||
use dirs::config_dir;
|
||||
|
||||
@ -19,7 +19,7 @@ struct Cli {
|
||||
action: Action,
|
||||
}
|
||||
|
||||
#[derive(clap::Args, Debug, Clone, Eq, PartialEq, PartialOrd, Ord)]
|
||||
#[derive(Args, Debug, Clone, Eq, PartialEq, PartialOrd, Ord)]
|
||||
#[group(required = true, multiple = false)]
|
||||
struct AuthMethodParse {
|
||||
/// Specify the password of the bot
|
||||
|
Loading…
Reference in New Issue
Block a user