mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
cmd/tailscale/cli: limit Darwin-only option to Darwin (#8657)
This commit is contained in:
parent
388b124513
commit
3c53bedbbf
@ -44,7 +44,7 @@
|
|||||||
fs := newFlagSet("update")
|
fs := newFlagSet("update")
|
||||||
fs.BoolVar(&updateArgs.yes, "yes", false, "update without interactive prompts")
|
fs.BoolVar(&updateArgs.yes, "yes", false, "update without interactive prompts")
|
||||||
fs.BoolVar(&updateArgs.dryRun, "dry-run", false, "print what update would do without doing it, or prompts")
|
fs.BoolVar(&updateArgs.dryRun, "dry-run", false, "print what update would do without doing it, or prompts")
|
||||||
fs.BoolVar(&updateArgs.appStore, "app-store", false, "check the App Store for updates, even if this is not an App Store install (for testing only!)")
|
fs.BoolVar(&updateArgs.appStore, "app-store", false, "HIDDEN: check the App Store for updates, even if this is not an App Store install (for testing only)")
|
||||||
// These flags are not supported on Arch-based installs. Arch only
|
// These flags are not supported on Arch-based installs. Arch only
|
||||||
// offers one variant of tailscale and it's always the latest version.
|
// offers one variant of tailscale and it's always the latest version.
|
||||||
if distro.Get() != distro.Arch {
|
if distro.Get() != distro.Arch {
|
||||||
|
Loading…
Reference in New Issue
Block a user