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
}