From 352d8c966c323a008362130eb979ae5dfa47494f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 23 Sep 2013 14:10:36 -0700 Subject: [PATCH] common/config: include --cluster in default usage message Clean it up a bit too. Signed-off-by: Sage Weil (cherry picked from commit 157754b3a0191c5ff534a84adbeed88025615898) --- src/common/ceph_argparse.cc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/common/ceph_argparse.cc b/src/common/ceph_argparse.cc index 2950a81f89d78..6c8053897f3f5 100644 --- a/src/common/ceph_argparse.cc +++ b/src/common/ceph_argparse.cc @@ -464,18 +464,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"; } } -- 2.39.5