Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Fixes admin cli to print the help message when no args provided. #593

Merged
merged 1 commit into from
Sep 1, 2016

Conversation

govint
Copy link
Contributor

@govint govint commented Aug 31, 2016

Print the help message if no args are provided, below is the message we get if the admin CLI is run without args.

python ./vmdkops_admin.py
usage: vmdkops_admin.py [-h] {ls,status,role,policy,set} ...

Manage VMDK Volumes

positional arguments:
{ls,status,role,policy,set}
ls List volumes
status Show the status of the vmdk_ops service
role Administer and monitor volume access control
policy Configure and display storage policy information
set Edit settings for a given volume

optional arguments:
-h, --help show this help message and exit

@govint
Copy link
Contributor Author

govint commented Aug 31, 2016

Fixes #585

@andrewjstone
Copy link
Contributor

LGTM

@andrewjstone
Copy link
Contributor

Thanks @govint

@kerneltime
Copy link
Contributor

LGTM

@govint govint merged commit a59b822 into master Sep 1, 2016
@govint govint deleted the cli-no-args branch September 1, 2016 04:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants