]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/config: include --cluster in default usage message
authorSage Weil <sage@inktank.com>
Mon, 23 Sep 2013 21:10:36 +0000 (14:10 -0700)
committerSage Weil <sage@inktank.com>
Thu, 24 Oct 2013 21:57:23 +0000 (14:57 -0700)
Clean it up a bit too.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 157754b3a0191c5ff534a84adbeed88025615898)

src/common/ceph_argparse.cc

index 2950a81f89d7839a6daf7e19588af12cd7a95de8..6c8053897f3f5e8bd31421c930bcd83eaff3c125 100644 (file)
@@ -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";
   }
 }