diff --git a/bin/sozo/src/args.rs b/bin/sozo/src/args.rs index d190da8fb9..57c1c53ac8 100644 --- a/bin/sozo/src/args.rs +++ b/bin/sozo/src/args.rs @@ -18,7 +18,6 @@ use crate::utils::generate_version; pub struct SozoArgs { #[arg(long)] #[arg(global = true)] - #[arg(hide_short_help = true)] #[arg(env = "DOJO_MANIFEST_PATH")] #[arg(help = "Override path to a directory containing a Scarb.toml file.")] pub manifest_path: Option, @@ -33,7 +32,7 @@ pub struct SozoArgs { #[arg(long)] #[arg(env = "SOZO_OFFLINE")] - #[arg(hide_short_help = true, global = true)] + #[arg(global = true)] #[arg(help = "Run without accessing the network.")] pub offline: bool, @@ -70,15 +69,15 @@ impl SozoArgs { #[derive(Parser, Clone, Debug)] #[group(multiple = false)] pub struct ProfileSpec { - #[arg(short = 'P', long, global = true)] + #[arg(short = 'P', long, global = true, group = "profiles")] #[arg(help = "Specify profile to use by name.")] pub profile: Option, - #[arg(long, hide_short_help = true, global = true)] + #[arg(long, hide_short_help = true, global = true, group = "profiles")] #[arg(help = "Use release profile.")] pub release: bool, - #[arg(long, hide_short_help = true, global = true)] + #[arg(long, hide_short_help = true, global = true, group = "profiles")] #[arg(help = "Use dev profile.")] pub dev: bool, }