Improve cbstats and cbepctl usage text 11/76411/3
authorJames Harrison <00jamesh@gmail.com>
Thu, 6 Apr 2017 17:48:26 +0000 (18:48 +0100)
committerDave Rigby <daver@couchbase.com>
Fri, 7 Apr 2017 11:17:34 +0000 (11:17 +0000)
commit5c7e314e234def51d3a16cf5520bb721ebd08288
treecbdeeec0a8798ce4dc29af2f2cde768b18b41036
parent5c4b93cc0c534617f713e0dd5c21da7ab9dbff08
Improve cbstats and cbepctl usage text

Corrects exit code when calling with "--help" - this is a successful
execution and should exit(0). This facilitates simply executing these
tools with "--help" as a very basic test.

Also improves some error messages, making better use of optparse.

Change-Id: I4449e8e711072f156de1c700992d0d98b5bebddd
Reviewed-on: http://review.couchbase.org/76411
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
management/cli_auth_utils.py
management/clitool.py