From 09f9fd370332b5541e450fa7fd2753a3cda05faf Mon Sep 17 00:00:00 2001 From: Kiril Kovachev Date: Fri, 9 May 2025 15:34:34 +0100 Subject: [PATCH] style: Use Args instead of clap::Args --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3d58121..3a2d3fd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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