Skip to content

Commit

Permalink
Rename cck resolutions flag to resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerschultz committed May 26, 2017
1 parent 4a6aafd commit 5db7dcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cmd/opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,9 @@ type VMsOpts struct {
}

type CloudCheckOpts struct {
Auto bool `long:"auto" short:"a" description:"Resolve problems automatically"`
Resolutions []string `long:"resolutions" description:"Resolve provided list of problems"`
Report bool `long:"report" short:"r" description:"Only generate report; don't attempt to resolve problems"`
Auto bool `long:"auto" short:"a" description:"Resolve problems automatically"`
Resolutions []string `long:"resolution" description:"Apply resolution of given type"`
Report bool `long:"report" short:"r" description:"Only generate report; don't attempt to resolve problems"`
cmd
}

Expand Down
4 changes: 2 additions & 2 deletions cmd/opts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1886,10 +1886,10 @@ var _ = Describe("Opts", func() {
})
})

Describe("Resolutions", func() {
Describe("Resolution", func() {
It("contains desired values", func() {
Expect(getStructTagForName("Resolutions", opts)).To(Equal(
`long:"resolutions" description:"Resolve provided list of problems"`,
`long:"resolution" description:"Apply resolution of given type"`,
))
})
})
Expand Down

0 comments on commit 5db7dcb

Please sign in to comment.