From: Nathan Cutler Date: Sun, 27 Sep 2015 19:16:11 +0000 (+0200) Subject: src/init-ceph.in: improve usage message X-Git-Tag: v10.0.1~98^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d4c096971426e899a83062bcfd4ec508b3f0ff7a;p=ceph.git src/init-ceph.in: improve usage message Signed-off-by: Nathan Cutler --- diff --git a/src/init-ceph.in b/src/init-ceph.in index f4645ef860c3..65412477bcb3 100755 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -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 }