[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [PATCH 34/42] multipath.init.suse: Update usage message



The usage message in multipath.init.suse doesn't list 'reload'.
And 'reload' is a misnomer, as it's actually a restart.
So rename 'reload' to 'restart' and add to the usage message.

Signed-off-by: Hannes Reinecke <hare suse de>
---
 multipath/multipath.init.suse |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/multipath/multipath.init.suse b/multipath/multipath.init.suse
index c7cd5c7..de1cc1f 100644
--- a/multipath/multipath.init.suse
+++ b/multipath/multipath.init.suse
@@ -146,12 +146,12 @@ case "$1" in
 	fi
 	rc_status -v
 	;;
-    reload)
+    restart)
 	$0 stop
 	$0 start
 	;;
     *)
-	echo "Usage: $0 {start|stop|status}"
+	echo "Usage: $0 {start|stop|status|restart}"
 	exit 1
 	;;
 esac
-- 
1.7.4.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]