Skip to content

Commit

Permalink
cmd:bundle: Use --force-stop rather than --forceStop
Browse files Browse the repository at this point in the history
--forceStop is not consistent with the way we capitalize our other
options (--pull-secret-file, --log-level, ...).
This commit changes this.
This is a user-visible breakage to our UI, but I expect the number of
users of `bundle generate` to be small, and the number of people using
this option, and using the long form of this option to be even smaller.
  • Loading branch information
cfergeau authored and praveenkumar committed Sep 14, 2021
1 parent da29fa2 commit a2ed294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crc/cmd/bundle/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func getGenerateCmd(config *config.Config) *cobra.Command {
return runGenerate(config, forceStop)
},
}
generateCmd.PersistentFlags().BoolVarP(&forceStop, "forceStop", "f", false, "Forcefully stop the instance")
generateCmd.PersistentFlags().BoolVarP(&forceStop, "force-stop", "f", false, "Forcefully stop the instance")
return generateCmd
}

Expand Down

0 comments on commit a2ed294

Please sign in to comment.