For consistency with other flags, per Slack chat.
Updates #5902
Change-Id: I7ae1e4c97b37185573926f5fafda82cf8b46f071
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
setf.BoolVar(&setArgs.advertiseConnector,"advertise-connector",false,"offer to be an app connector for domain specific internet traffic for the tailnet")
setf.BoolVar(&setArgs.updateCheck,"update-check",true,"notify about available Tailscale updates")
setf.BoolVar(&setArgs.updateApply,"auto-update",false,"automatically update to the latest available version")
setf.BoolVar(&setArgs.postureChecking,"posture-checking",false,"allow management plane to gather device posture information")
setf.BoolVar(&setArgs.reportPosture,"report-posture",false,"allow management plane to gather device posture information")
setf.BoolVar(&setArgs.runWebClient,"webclient",false,"expose the web interface for managing this node over Tailscale at port 5252")
setf.StringVar(&setArgs.relayServerPort,"relay-server-port","",hidden+"UDP port number (0 will pick a random unused port) for the relay server to bind to, on all interfaces, or empty string to disable relay server functionality")
upf.StringVar(&upArgs.advertiseRoutes,"advertise-routes","","routes to advertise to other nodes (comma-separated, e.g. \"10.0.0.0/8,192.168.0.0/24\") or empty string to not advertise routes")
upf.BoolVar(&upArgs.advertiseConnector,"advertise-connector",false,"advertise this node as an app connector")
upf.BoolVar(&upArgs.advertiseDefaultRoute,"advertise-exit-node",false,"offer to be an exit node for internet traffic for the tailnet")
upf.BoolVar(&upArgs.postureChecking,"posture-checking",false,hidden+"allow management plane to gather device posture information")
upf.BoolVar(&upArgs.postureChecking,"report-posture",false,hidden+"allow management plane to gather device posture information")
ifsafesocket.GOOSUsesPeerCreds(goos){
upf.StringVar(&upArgs.opUser,"operator","","Unix username to allow to operate on tailscaled without sudo")