mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat: ya pack displays help if no arguments are given
It used to do nothing before this change.
This commit is contained in:
parent
faa1d9f37b
commit
c1998d577a
1 changed files with 1 additions and 0 deletions
|
|
@ -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)]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue