From d4c096971426e899a83062bcfd4ec508b3f0ff7a Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sun, 27 Sep 2015 21:16:11 +0200 Subject: [PATCH] src/init-ceph.in: improve usage message Signed-off-by: Nathan Cutler --- src/init-ceph.in | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/init-ceph.in b/src/init-ceph.in index f4645ef860c3d..65412477bcb3a 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 } -- 2.39.5