mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 15:31:21 +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
|
|
@ -131,6 +131,7 @@ fn build_cli_args() -> Command {
|
|||
.short('p')
|
||||
.long("daemon-pid"),
|
||||
)
|
||||
.subcommand_required(true)
|
||||
.subcommand(proc::commands::version())
|
||||
.subcommand(proc::commands::offline())
|
||||
.subcommand(proc::commands::force_quit())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue