Ability to disable inverse boolean options

Bug #1788521 reported by Sam Morrison
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.config
In Progress
Undecided
Sam Morrison

Bug Description

Need the ability to disable the automatic inverse boolean cli options that get created

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/595380

Changed in oslo.config:
assignee: nobody → Sam Morrison (sorrison)
status: New → In Progress
Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

Could you describe how this would be used? Why would we want to disable this behavior?

Revision history for this message
Sam Morrison (sorrison) wrote :

Basically want to limit the available options to the user to make it simpler. Having arguments that are the default I'd like to not show.

In my specific case have a cli tool that runs over a single thing, have a --all flag to run over all the things and this creates a --noall flag which is redundant.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on oslo.config (master)

Change abandoned by Stephen Finucane (<email address hidden>) on branch: master
Review: https://review.opendev.org/595380
Reason: I'm not sure if you're planning to work on this anymore or not and if so, I'm happy to help. However, for now I'm going to abandon this since it seems stalled and I'd like to clean up my review queue.

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.