mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-04 01:07:49 +02: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
+1
-1
@@ -391,7 +391,7 @@ func initCLI() {
|
|||||||
Use: "stop",
|
Use: "stop",
|
||||||
Short: "Quick stop service and remove DNS from interface",
|
Short: "Quick stop service and remove DNS from interface",
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
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`)
|
stopCmdAlias.Flags().StringVarP(&iface, "iface", "", "auto", `Reset DNS setting for iface, "auto" means the default interface gateway`)
|
||||||
|
|||||||
Reference in New Issue
Block a user