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:
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…
Reference in New Issue