modify cluster create help
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
New
|
Undecided
|
Prithiv |
Bug Description
Magnum cluster-create help shows cluster-template asn an optional arguments but seems like it is a required parameter.
root@node1:
usage: magnum cluster-create [--name <name>] --cluster-template
Create a cluster.
Optional arguments:
--name <name> Name of the cluster to create.
--cluster-
--node-count <node-count>
--master-count <master-count>
--discovery-url <discovery-url>
--timeout <timeout> The timeout for cluster creation in minutes. The
root@node1:
usage: magnum cluster-create [--name <name>] --cluster-template
error: argument --cluster-template is required
I propose to modify the help option and move cluster-template to positional arguments.
Changed in magnum: | |
assignee: | nobody → Prithiv (prithiv) |
In your output it shows it as mandatory (it's not in brackets).