We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ea1a0b commit c04c85dCopy full SHA for c04c85d
cmd/infractl/cluster/create/command.go
@@ -74,6 +74,8 @@ func Command() *cobra.Command {
74
for _, osArg := range os.Args {
75
if strings.Contains(osArg, "qa-demo") {
76
cmd.Flags().Bool("rhacs", false, "use Red Hat branded images for qa-demo (the default is to use open source images)")
77
+ // Abort loop if found, otherwise 'infractl create qa-demo prefix-qa-demo' will attempt to add another --rhacs flag.
78
+ break
79
}
80
81
return cmd
0 commit comments