]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crushtool: only dump usage on -h|--help
authorSage Weil <sage@inktank.com>
Mon, 17 Dec 2012 19:21:55 +0000 (11:21 -0800)
committerSage Weil <sage@inktank.com>
Tue, 18 Dec 2012 01:12:06 +0000 (17:12 -0800)
commitdbe6fb72818f71b4c2c7ddf84a29cc2709a06c49
treec919ca814b24c7933a2c729d0899d1427a5e7a8e
parent3c246226a5e6ba86cbb223758b8dc3197039a329
crushtool: only dump usage on -h|--help

Instead, output a useful error message.

Fix error code to be a success.

Add test for the output usage.

Signed-off-by: Sage Weil <sage@inktank.com>
src/crushtool.cc
src/test/cli/crushtool/help.t