Misc. clap improvements, , more accurate value names, ...

This commit is contained in:
2025-12-15 00:46:56 +09:00
parent 7b79f7b163
commit 6e914dec34
17 changed files with 26 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ use crate::{
#[derive(Parser, Debug, Clone)]
pub struct DropUserArgs {
/// The MySQL user(s) to drop
#[arg(num_args = 1..)]
#[arg(num_args = 1.., value_name = "USER_NAME")]
#[cfg_attr(not(feature = "suid-sgid-mode"), arg(add = ArgValueCompleter::new(mysql_user_completer)))]
username: Vec<MySQLUser>,