[CLI] Bad help text

Bug #1710302 reported by Jeremy Freudberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Sahara
New
Medium
Unassigned

Bug Description

As an example, consider "cluster scale" command:

```
usage: openstack dataprocessing cluster scale [-h]
                                              [-f {html,json,json,shell,table,value,yaml,yaml}]
                                              [-c COLUMN]
                                              [--max-width <integer>]
                                              [--print-empty] [--noindent]
                                              [--prefix PREFIX]
                                              [--instances <node-group-template:instances_count> [<node-group-template:instances_count> ...]]
                                              [--json <filename>] [--wait]
                                              <cluster>
```

In fact, the positional argument <cluster> must come before --instances. Otherwise it complains about not enough arguments. Interestingly, adding --wait can make the ordering more flexible.

Probably further investigations needed, as the issue may apply to other CLI commands.

Changed in sahara:
importance: Undecided → Medium
Revision history for this message
Luigi Toscano (ltoscano) wrote :
affects: sahara → python-saharaclient
Revision history for this message
Jeremy Freudberg (jfreud) wrote :

Yes, same bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.