diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 44e9110..33ca598 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -27,11 +27,13 @@ pub trait Command { } #[derive(Parser)] -#[command(name = "qpm")] +#[command(name = "qpm", bin_name = "qpm", version, about, long_about)] +#[command(arg_required_else_help = true)] pub struct Opt { // If provided, outputs the completion file for given shell #[arg(long = "generate", value_enum)] pub generator: Option, + #[command(subcommand)] pub command: Option, }