metavars for boolean flags are misleading

Bug #1056501 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Low
Brian Waldon

Bug Description

The protected and is_public image attributes are documented in the image-create help text as follows:

  --is-public IS_PUBLIC
                        Make image accessible to the public.
  --is-protected IS_PROTECTED
                        Prevent image from being deleted.

It's not clear what values to use for these options.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

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

Changed in python-glanceclient:
assignee: nobody → Brian Waldon (bcwaldon)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/16444
Committed: http://github.com/openstack/python-glanceclient/commit/0e90f8ef230eebd421175d637d7c9df7d149a155
Submitter: Jenkins
Branch: master

commit 0e90f8ef230eebd421175d637d7c9df7d149a155
Author: Brian Waldon <email address hidden>
Date: Mon Nov 19 09:08:39 2012 -0800

    Set useful boolean flag metavars

    The boolean flags --is-protected and --is-public now
    communicate that they must be set to True or False.

    Fixes bug 1056501.

    Change-Id: I23094ea556eb71d6eb977a64c171119738ed792b

Changed in python-glanceclient:
status: In Progress → Fix Committed
Brian Waldon (bcwaldon)
Changed in python-glanceclient:
milestone: none → v0.6.0
status: Fix Committed → Fix Released
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.