feat: ya pack displays help if no arguments are given

It used to do nothing before this change.
This commit is contained in:
Mika Vilpas 2024-05-07 22:10:02 +03:00
parent faa1d9f37b
commit c1998d577a

View file

@ -83,6 +83,7 @@ impl CommandPubStatic {
} }
#[derive(clap::Args)] #[derive(clap::Args)]
#[command(arg_required_else_help = true)]
pub(super) struct CommandPack { pub(super) struct CommandPack {
/// Add a package. /// Add a package.
#[arg(short = 'a', long)] #[arg(short = 'a', long)]