summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Dachary <loic@dachary.org>2013-09-23 14:25:15 -0700
committerLoic Dachary <loic@dachary.org>2013-09-23 14:25:15 -0700
commit0eb0c3e0f3d7f8d32eb0cdf4abaf40d9fdb4d0a3 (patch)
tree2ad9e63f1145d000f1786df6ce9f79f647d25054
parent104277c83608376f5610c8152695a222203d2a7d (diff)
parent157754b3a0191c5ff534a84adbeed88025615898 (diff)
downloadceph-0eb0c3e0f3d7f8d32eb0cdf4abaf40d9fdb4d0a3.tar.gz
Merge pull request #626 from ceph/wip-usage
common/config: include --cluster in default usage message
-rw-r--r--src/common/ceph_argparse.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/common/ceph_argparse.cc b/src/common/ceph_argparse.cc
index 2950a81f89d..6c8053897f3 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";
}
}