running fuel client with out any args doesn't print help

Bug #1348413 reported by Andrew Woodward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Low
Matthew Mosesohn

Bug Description

running fuel client with out any args doesn't print the help usage, instead it only prints a short message

actual result:

[root@nailgun ~]# fuel
usage: fuel [optional args] <namespace> [action] [flags]
fuel: error: too few arguments

expected result:

[root@nailgun ~]# fuel
usage: fuel [optional args] <namespace> [action] [flags]

optional arguments:
  -h, --help show this help message and exit
  -v, --version show program's version number and exit
  --fuel-version show Fuel server's version number and exit
  --debug prints details of all HTTP request
  --os-username USER credentials for keystone authentication user
  --os-password PASSWORD
                        credentials for keystone authentication password
  --yaml prints only yaml to stdout
  --json prints only json to stdout

Namespaces:
                        actions
    node List and assign available nodes to environments
    reset Reset deployed process for specific environment
    task Show tasks
    network Show or modify network settings of specific
                        environments
    settings Show or modify environment settings
    stop Stop deployment process for specific environment
    provisioning Show computed provisioning facts for orchestrator
    environment Create, list and modify currently existing
                        environments(clusters)
    deploy-changes Deploy changes to environments
    role List all roles for specific release
    user Change password for user
    deployment Show computed deployment facts for orchestrator
    release List and modify currently available releases
    snapshot Generate and download snapshot.
    health Run health check on environment

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Matthew Mosesohn (raytrac3r)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/109961
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=3c564eb75a3fb7a8ae8a6d9f043b76569e740fd6
Submitter: Jenkins
Branch: master

commit 3c564eb75a3fb7a8ae8a6d9f043b76569e740fd6
Author: Matthew Mosesohn <email address hidden>
Date: Mon Jul 28 15:37:53 2014 +0400

    Show help usage by default for fuelclient

    Also added 'fuel help' as a useful option
    (same as fuel -h) to show usage as well.

    Change-Id: I79bb493ee5af46d166fc81d90beb3fa74ac348b6
    Closes-Bug: #1348413

Changed in fuel:
status: In Progress → Fix Committed
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: 6.0 → 5.1
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.