From ccfa071041539ebbe89b5010775626feb18d2f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Halber?= Date: Thu, 16 Jul 2026 19:06:19 -0700 Subject: [PATCH] fix(args): command specific flags could be shown as global --- src/args.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/args.rs b/src/args.rs index bfb1365..c15c647 100644 --- a/src/args.rs +++ b/src/args.rs @@ -110,11 +110,11 @@ pub struct BaseArgs { #[derive(Debug, Clone, Args)] pub struct CLIArgs { - #[command(flatten, next_help_heading = "Global options")] - pub base: BaseArgs, - #[command(flatten)] pub args: T, + + #[command(flatten, next_help_heading = "Global options")] + pub base: BaseArgs, } impl BaseArgs {