Cliff does not allow override of some arguments
Bug #1483378 reported by
Terry Howe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cliff |
Invalid
|
Undecided
|
Terry Howe | ||
python-openstackclient |
Fix Released
|
Medium
|
Terry Howe |
Bug Description
argparse does not have a way to get and modify arguments set by a parent class, so it would be convenient if cliff allowed arguments to be override for the default value and perhaps the help text. OSC for instance uses a slightly different usage of --debug where it sets verbose_level=3 if --debug. The help text for --debug does not say that.
Also, the default value for --debug is False and this makes it so OCC cannot override the value. If it was set to None, OCC would set it out of the file.
Changed in python-cliff: | |
assignee: | nobody → Terry Howe (thowe-g) |
Changed in python-openstackclient: | |
assignee: | nobody → Terry Howe (thowe-g) |
Changed in python-openstackclient: | |
importance: | Undecided → Medium |
Changed in python-openstackclient: | |
milestone: | none → 1.7.1 |
Changed in python-cliff: | |
status: | In Progress → Invalid |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/214262
Review: https:/