Blame SOURCES/autofs-5.0.7-include-usage-in-usage-message.patch

4d476f
autofs-5.0.7 - include usage in usage message
4d476f
4d476f
From: Ian Kent <ikent@redhat.com>
4d476f
4d476f
Since usage is a case entry we should also nclude it in the usage
4d476f
message.
4d476f
---
4d476f
4d476f
 redhat/autofs.init.in |    2 +-
4d476f
 1 files changed, 1 insertions(+), 1 deletions(-)
4d476f
4d476f
4d476f
diff --git a/redhat/autofs.init.in b/redhat/autofs.init.in
4d476f
index 8e355da..ec6d5d6 100644
4d476f
--- a/redhat/autofs.init.in
4d476f
+++ b/redhat/autofs.init.in
4d476f
@@ -155,7 +155,7 @@ function reload() {
4d476f
 }
4d476f
 
4d476f
 function usage_message() {
4d476f
-	echo $"Usage: $0 {start|forcestart|stop|status|restart|force-reload|forcerestart|reload|condrestart|try-restart}"
4d476f
+	echo $"Usage: $0 {start|forcestart|stop|status|restart|force-reload|forcerestart|reload|condrestart|try-restart|usage}"
4d476f
 }
4d476f
 
4d476f
 RETVAL=0