summaryrefslogtreecommitdiffstats
path: root/src/ceph_mgr.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2018-04-13 00:12:23 +0200
committerSage Weil <sage@redhat.com>2018-04-13 00:12:23 +0200
commitdab5b20119e048decbf8e4ca1d822dcc12d6ca65 (patch)
tree3615d09502003d8551e09f1ad7bb837f45a98159 /src/ceph_mgr.cc
parentMerge pull request #20962 from ricardoasmarques/wip-task-manager-frontend (diff)
downloadceph-dab5b20119e048decbf8e4ca1d822dcc12d6ca65.tar.xz
ceph-dab5b20119e048decbf8e4ca1d822dcc12d6ca65.zip
ceph-mgr: exit after usage
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/ceph_mgr.cc')
-rw-r--r--src/ceph_mgr.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ceph_mgr.cc b/src/ceph_mgr.cc
index cabc0fe041d..514cb4e3829 100644
--- a/src/ceph_mgr.cc
+++ b/src/ceph_mgr.cc
@@ -51,6 +51,7 @@ int main(int argc, const char **argv)
}
if (ceph_argparse_need_usage(args)) {
usage();
+ exit(0);
}
map<string,string> defaults = {