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.
This commit is contained in:
Brad Fitzpatrick 2020-07-22 14:05:49 -07:00
parent 189d86cce5
commit 2545575dd5
1 changed files with 1 additions and 1 deletions

View File

@ -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,