Merge pull request #8183 from mattfarina/fix-8149

Using flags instead of persistent flags on status
pull/8225/head
Matt Farina 4 years ago committed by GitHub
commit 03ccd5dea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -74,7 +74,7 @@ func newStatusCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
return compListReleases(toComplete, cfg)
})
f := cmd.PersistentFlags()
f := cmd.Flags()
f.IntVar(&client.Version, "revision", 0, "if set, display the status of the named release with revision")
flag := f.Lookup("revision")

Loading…
Cancel
Save