Skip to content

Commit 398f6f2

Browse files
committed
OCPBUGS-45991: Mark --report and --pxe flags as experimental
They were introduced recently for "oc adm node-image create" and should be marked as experimental until next release.
1 parent c724dcb commit 398f6f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cli/admin/nodeimage/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ func (o *CreateOptions) AddFlags(cmd *cobra.Command) {
161161

162162
flags.StringVar(&o.AssetsDir, "dir", o.AssetsDir, "The path containing the configuration file, used also to store the generated artifacts.")
163163
flags.StringVarP(&o.OutputName, "output-name", "o", "", "The name of the output image.")
164-
flags.BoolVarP(&o.GeneratePXEFiles, "pxe", "p", false, "Instead of an ISO, create files that can be used for PXE boot")
165-
flags.BoolVarP(&o.GenerateReport, "report", "r", false, "When set, the report.json is always generated in the asset folder")
164+
flags.BoolVarP(&o.GeneratePXEFiles, "pxe", "p", false, "Experimental: Instead of an ISO, create files that can be used for PXE boot")
165+
flags.BoolVarP(&o.GenerateReport, "report", "r", false, "Experimental: When set, the report.json is always generated in the asset folder")
166166

167167
flags.StringP(snFlagMacAddress, "m", "", "Single node flag. MAC address used to identify the host to apply the configuration. If specified, the nodes-config.yaml config file will not be used.")
168168
usageFmt := "Single node flag. %s. Valid only when `mac-address` is defined."

0 commit comments

Comments
 (0)