diff --git a/src/ore/src/cli.rs b/src/ore/src/cli.rs index fe891faf73dca..1e1c6ac22065d 100644 --- a/src/ore/src/cli.rs +++ b/src/ore/src/cli.rs @@ -68,7 +68,7 @@ where }) .collect(); - let mut clap = O::command(); + let mut clap = O::command().args_override_self(true); if !config.enable_version_flag { clap = clap.disable_version_flag(true);