From 719a0406907babd620e0a106eeb482ff91627cf8 Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Fri, 12 Jul 2024 11:29:11 -0500 Subject: [PATCH] In `fleetctl package` command, removed the `--version` flag (#20402) #20042 # Checklist for submitter - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [ ] Added/updated tests - [x] Manual QA for all new/changed functionality --- changes/20042-remove-package-version | 1 + cmd/fleetctl/package.go | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) create mode 100644 changes/20042-remove-package-version diff --git a/changes/20042-remove-package-version b/changes/20042-remove-package-version new file mode 100644 index 0000000000..a4a5801417 --- /dev/null +++ b/changes/20042-remove-package-version @@ -0,0 +1 @@ +In `fleetctl package` command, removed the `--version` flag. The version of the package can be controlled by `--orbit-channel` flag. diff --git a/cmd/fleetctl/package.go b/cmd/fleetctl/package.go index bec5ea3b7d..8b80fd3802 100644 --- a/cmd/fleetctl/package.go +++ b/cmd/fleetctl/package.go @@ -74,11 +74,6 @@ func packageCommand() *cli.Command { Value: "com.fleetdm.orbit", Destination: &opt.Identifier, }, - &cli.StringFlag{ - Name: "version", - Usage: "Version for package product", - Destination: &opt.Version, - }, &cli.BoolFlag{ Name: "insecure", Usage: "Disable TLS certificate verification",