maas-cli with no arguments does not give usage
Bug #1058116 reported by
Scott Moser
This bug report is a duplicate of:
Bug #1052876: When invoked without arguments, maascli is too terse.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned |
Bug Description
If you invoke maas-cli with no arguments, it errors like below. Would'nt usage be more common (as shown further below).
$ maas-cli
usage: /usr/lib/
/usr/lib/
$ maas-cli --help
usage: /usr/lib/
Control MAAS from the command-line.
optional arguments:
-h, --help show this help message and exit
commands:
{api}
api Interact with a remote MAAS server.
$ dpkg-query --show maas-cli
maas-cli 0.1+bzr1063+
This seems like it affects all subcomands also: python2. 7/dist- packages/ maascli/ __main_ _.py api maaslocal account authorisation- token,create- authorisation- token} ... python2. 7/dist- packages/ maascli/ __main_ _.py api maaslocal account: error: too few arguments
$ maas-cli api maaslocal account
usage: /usr/lib/
[-h] {delete-
/usr/lib/