mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
cmd/ctrld: fix wrong stop command alias
It's "stopCmd", not "startCmd"
This commit is contained in:
committed by
Cuong Manh Le
parent
a318e19e33
commit
1f2bd90308
@@ -391,7 +391,7 @@ func initCLI() {
|
||||
Use: "stop",
|
||||
Short: "Quick stop service and remove DNS from interface",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
startCmd.Run(cmd, args)
|
||||
stopCmd.Run(cmd, args)
|
||||
},
|
||||
}
|
||||
stopCmdAlias.Flags().StringVarP(&iface, "iface", "", "auto", `Reset DNS setting for iface, "auto" means the default interface gateway`)
|
||||
|
||||
Reference in New Issue
Block a user