mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 23:41:57 +00:00
set require flag on subcommands
This commit is contained in:
parent
e3ec0f2453
commit
70460cab08
6 changed files with 8 additions and 1 deletions
|
|
@ -95,6 +95,7 @@ fn build_cli_args() -> Command {
|
|||
.short('v')
|
||||
.global(true),
|
||||
)
|
||||
.subcommand_required(true)
|
||||
.subcommand(cmd_list::command())
|
||||
.subcommand(cmd_stat::command())
|
||||
.subcommand(cmd_get::command())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue