]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/init-ceph.in: improve usage message
authorNathan Cutler <ncutler@suse.com>
Sun, 27 Sep 2015 19:16:11 +0000 (21:16 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 11 Nov 2015 13:10:19 +0000 (14:10 +0100)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/init-ceph.in

index f4645ef860c3d770ae0dfd2021eeb12fbe0e8b6c..65412477bcb3a7a357309a0a74081312c0f52715 100755 (executable)
@@ -40,10 +40,26 @@ fi
 
 usage_exit() {
     echo "usage: $0 [options] {start|stop|restart|condrestart} [mon|osd|mds]..."
-    printf "\t-c ceph.conf\n"
-    printf "\t--cluster [cluster name]\tdefine the cluster name\n"
-    printf "\t--valgrind\trun via valgrind\n"
-    printf "\t--hostname [hostname]\toverride hostname lookup\n"
+    printf "Core options:\n"
+    printf "\t--allhosts / -a           execute (via ssh) on all hosts in conf file\n"
+    printf "\t--cluster [cluster name]  define the cluster name\n"
+    printf "\t--conf / -c [conf file]   use [conf file] instead of default\n"
+    printf "\t--help / -h               show this usage message\n"
+    printf "\t--hostname [hostname]     override hostname lookup\n"
+    printf "\t-m [mon addr]             mon address\n"
+    printf "\n"
+    printf "Other options:\n"
+    printf "\t--btrfs                   btrfs\n"
+    printf "\t--nobtrfs                 no btrfs\n"
+    printf "\t--btrfsumount             btrfs umount\n"
+    printf "\t--fsmount                 fsmount\n"
+    printf "\t--nofsmount               no fsmount\n"
+    printf "\t--fsumount                fsumount\n"
+    printf "\t--restart                 restart on core dump\n"
+    printf "\t--norestart               do not restart on core dump\n"
+    printf "\t--valgrind                run via valgrind\n"
+    printf "\t--novalgrind              do not run via valgrind\n"
+    printf "\t--verbose / -v            be verbose\n"
     exit
 }