Fix daemon synopsis and command grouping (#4249)
This commit is contained in:
7 files changed
+79
-6
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user