Skip to content

Commit e3584b9

Browse files
Merge pull request #1874 from bergerhoffer/fixing-flag
NO-JIRA: Fixing -o flag in command example
2 parents 822207d + f980297 commit e3584b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/cli/admin/nodeimage/create.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ var (
7171
cluster release.
7272
7373
A nodes-config.yaml config file must be created to provide the required
74-
initial configuration for the selected nodes.
74+
initial configuration for the selected nodes.
7575
Alternatively, to support simpler configurations for adding just a single
7676
node, it's also possible to use a set of flags to configure the host. In
7777
such case the '--mac-address' is the only mandatory flag - while all the
78-
others will be optional (note: any eventual configuration file present
78+
others will be optional (note: any eventual configuration file present
7979
will be ignored).
8080
`)
8181

@@ -87,7 +87,7 @@ var (
8787
oc adm node-image create --dir=/tmp/assets
8888
8989
# Specify a custom image name
90-
oc adm node-image create --o=my-node.iso
90+
oc adm node-image create -o=my-node.iso
9191
9292
# Create an ISO to add a single node without using the configuration file
9393
oc adm node-image create --mac-address=00:d8:e7:c7:4b:bb

pkg/cli/admin/nodeimage/nodeimage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
func NewCmdNodeImage(f kcmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command {
1313
cmd := &cobra.Command{
1414
Use: "node-image",
15-
Short: "Add nodes to an existing cluster.",
15+
Short: "Add nodes to an existing cluster",
1616
Long: templates.LongDesc(`
1717
The subcommands allow you to create an ISO image to be used for adding the desired
1818
nodes to an OpenShift cluster, and also to monitor the process.

0 commit comments

Comments
 (0)