help text for resource-template malformed

Bug #1265194 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-heatclient
Fix Released
Medium
Steven Hardy

Bug Description

# heat help resource-template
usage: heat resource-template [-F <FORMAT>] <RESOURCE>

Generate a template based on a resource.

Positional arguments:
  <RESOURCE> Name of the resource to generate a template for.

Optional arguments:
  -F <FORMAT>, --format <FORMAT>
                        The template output format. {'yaml': <function
                        safe_dump at 0x17081b8>, 'json': <function <lambda> at
                        0x1708cf8>}

The format descriptions are printing function references rather than descriptive text, which is confusing

Steven Hardy (shardy)
Changed in python-heatclient:
assignee: nobody → Steven Hardy (shardy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

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

Changed in python-heatclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (master)

Reviewed: https://review.openstack.org/64547
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=30e0f049ffb9c0d3945fdb9995cff9f1e7d782d1
Submitter: Jenkins
Branch: master

commit 30e0f049ffb9c0d3945fdb9995cff9f1e7d782d1
Author: Steven Hardy <email address hidden>
Date: Tue Dec 31 14:32:59 2013 +0000

    Fix help formatting for resource-template

    Only the keys, not the functions should be printed,
    or the output text is confusing

    Closes-Bug: #1265194

    Change-Id: Iaeb6e44ce0988d165609d261ab640b82db4a7ea4

Changed in python-heatclient:
status: In Progress → Fix Committed
Changed in python-heatclient:
milestone: none → v0.2.7
importance: Undecided → Medium
Changed in python-heatclient:
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.