diff --git a/cmd/cli/commands_service.go b/cmd/cli/commands_service.go index 51a8da7..19f928f 100644 --- a/cmd/cli/commands_service.go +++ b/cmd/cli/commands_service.go @@ -139,6 +139,10 @@ NOTE: Uninstalling will set DNS to values provided by DHCP.`, }, RunE: sc.Uninstall, } + uninstallCmd.Flags().StringVarP(&iface, "iface", "", "", `Reset DNS setting for iface, "auto" means the default interface gateway`) + uninstallCmd.Flags().Int64VarP(&deactivationPin, "pin", "", defaultDeactivationPin, `Pin code for stopping ctrld`) + _ = uninstallCmd.Flags().MarkHidden("pin") + uninstallCmd.Flags().BoolVarP(&cleanup, "cleanup", "", false, `Removing ctrld binary and config files`) // Interfaces command - use the existing InitInterfacesCmd function interfacesCmd := InitInterfacesCmd(rootCmd)