From: Sage Weil Date: Mon, 23 Sep 2013 21:10:36 +0000 (-0700) Subject: common/config: include --cluster in default usage message X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=713d2e068952852c9bc5850d65ab5e741b7be568;p=ceph.git common/config: include --cluster in default usage message Clean it up a bit too. Signed-off-by: Sage Weil (cherry picked from commit 157754b3a0191c5ff534a84adbeed88025615898) --- diff --git a/src/common/ceph_argparse.cc b/src/common/ceph_argparse.cc index 2ff520e45c9..19664917ca9 100644 --- a/src/common/ceph_argparse.cc +++ b/src/common/ceph_argparse.cc @@ -469,18 +469,19 @@ CephInitParameters ceph_argparse_early_args static void generic_usage(bool is_server) { cout << "\ - --conf/-c Read configuration from the given configuration file\n\ - --id/-i set ID portion of my name\n\ - --name/-n set name (TYPE.ID)\n\ - --version show version and quit\n\ + --conf/-c FILE read configuration from the given configuration file\n\ + --id/-i ID set ID portion of my name\n\ + --name/-n TYPE.ID set name\n\ + --cluster NAME set cluster name (default: ceph)\n\ + --version show version and quit\n\ " << std::endl; if (is_server) { cout << "\ - -d Run in foreground, log to stderr.\n\ - -f Run in foreground, log to usual location.\n"; - cout << " --debug_ms N\n"; - cout << " set message debug level (e.g. 1)\n"; + -d run in foreground, log to stderr.\n\ + -f run in foreground, log to usual location.\n"; + cout << "\ + --debug_ms N set message debug level (e.g. 1)\n"; } }