Skip to content

Commit

Permalink
fix: remove conflicting flag from marketplace delete command (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
malta895 authored Jan 10, 2024
1 parent b77b00c commit 9aa55dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- update uuid to 1.5.0
- update exp to v0.0.0-20231219180239-dc181d75b848

### Fixed

- remove conflicting shortand flag `-v` from `miactl marketplace delete` command

## [0.10.0] - 2023-12-20

### BREAKING
Expand Down
2 changes: 1 addition & 1 deletion internal/clioptions/clioptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (o *CLIOptions) AddMarketplaceItemObjectIDFlag(flags *pflag.FlagSet) (flagN

func (o *CLIOptions) AddMarketplaceVersionFlag(flags *pflag.FlagSet) (flagName string) {
flagName = "version"
flags.StringVarP(&o.MarketplaceItemVersion, flagName, "v", "", "The version of the Marketplace item")
flags.StringVarP(&o.MarketplaceItemVersion, flagName, "", "", "The version of the Marketplace item")
return
}

Expand Down

0 comments on commit 9aa55dc

Please sign in to comment.