Merge lp:~jtv/maas/bug-1052876 into lp:~maas-committers/maas/trunk
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1355 |
Proposed branch: | lp:~jtv/maas/bug-1052876 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
58 lines (+21/-5) 2 files modified
src/maascli/__init__.py (+8/-0) src/maascli/tests/test_integration.py (+13/-5) |
To merge this branch: | bzr merge lp:~jtv/maas/bug-1052876 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+134915@code.launchpad.net |
Commit message
Print more helpful error message when maas-cli is run without arguments.
Description of the change
As discussed very briefly on the daily call. I make the invocation fail with error code 2 because that's what it did previously.
Jeroen
To post a comment you must log in.
How about sparing the user an extra step and print the 'usage' string directly instead of message asking the user to re-run the command with -h (same as what, say, 'nmap' does)?