When invoked without arguments, maascli is too terse
Bug #1052876 reported by
Gavin Panella
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Low
|
Jeroen T. Vermeulen | ||
1.2 |
Fix Released
|
High
|
Julian Edwards |
Bug Description
$ bin/maascli
usage: ./bin/maascli [-h] {api} ...
bin/maascli: error: too few arguments
An invocation without any argument should be a little bit more verbose.
Related branches
lp:~jtv/maas/bug-1052876
- Gavin Panella (community): Approve
-
Diff: 58 lines (+21/-5)2 files modifiedsrc/maascli/__init__.py (+8/-0)
src/maascli/tests/test_integration.py (+13/-5)
lp:~julian-edwards/maas/backport-r1355
- Julian Edwards (community): Approve
-
Diff: 58 lines (+21/-5)2 files modifiedsrc/maascli/__init__.py (+8/-0)
src/maascli/tests/test_integration.py (+13/-5)
tags: | added: cli |
Changed in maas: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks like changes we made recently made this even uglier (this is running the SRU package on precise): python2. 7/dist- packages/ maascli/ __main_ _.py [-h] COMMAND ... python2. 7/dist- packages/ maascli/ __main_ _.py: error: too few arguments
root@autopkgtest:~# maas-cli
usage: /usr/lib/
/usr/lib/