Fix daemon synopsis and command grouping (#4249)

This commit is contained in:
Todd authored and GitHub committed 2024-01-18 09:54:21 -08:00
1 parent 253d79116c
commit 884a0cb1fc
7 files changed
+79 -6

No files matched your search

+5 -1
View File
@@ -14,7 +14,11 @@ func init() {
clientCacheWrapper = daemonWrap
extraCommandsFuncs = append(extraCommandsFuncs, func(ui, serverCmdUi cli.Ui, runOpts *RunOptions) {
delete(Commands, "daemon")
Commands["daemon"] = func() (cli.Command, error) {
return &daemon.DaemonCommand{
Command: base.NewCommand(ui),
}, nil
}
Commands["daemon start"] = func() (cli.Command, error) {
return &daemon.StartCommand{
Command: base.NewCommand(ui),