cmd/tailscale: default to not reporting daemon version

That's what I meant to do when I added "tailscale version" but
apparently I didn't.
pull/590/head
Brad Fitzpatrick 4 years ago
parent 189d86cce5
commit 2545575dd5

@ -21,7 +21,7 @@ var versionCmd = &ffcli.Command{
ShortHelp: "Print Tailscale version", ShortHelp: "Print Tailscale version",
FlagSet: (func() *flag.FlagSet { FlagSet: (func() *flag.FlagSet {
fs := flag.NewFlagSet("version", flag.ExitOnError) fs := flag.NewFlagSet("version", flag.ExitOnError)
fs.BoolVar(&versionArgs.daemon, "daemon", true, "also print local node's daemon version") fs.BoolVar(&versionArgs.daemon, "daemon", false, "also print local node's daemon version")
return fs return fs
})(), })(),
Exec: runVersion, Exec: runVersion,

Loading…
Cancel
Save