aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Krska <fkrska@redhat.com>2015-05-04 13:04:46 +0200
committerLukas Nykryn <lnykryn@redhat.com>2015-05-06 13:46:40 +0200
commit592a807c2204d35ad4ad2bf58f073d547ddd39ce (patch)
treef81843b6b7f6aa7d23b6bfa3f37a22a5eb203e03
parent6560dc5261057b9858b1ea5273fc447e3f80aef6 (diff)
downloadinitscripts-592a807c2204d35ad4ad2bf58f073d547ddd39ce.tar
initscripts-592a807c2204d35ad4ad2bf58f073d547ddd39ce.tar.gz
initscripts-592a807c2204d35ad4ad2bf58f073d547ddd39ce.tar.bz2
initscripts-592a807c2204d35ad4ad2bf58f073d547ddd39ce.tar.xz
initscripts-592a807c2204d35ad4ad2bf58f073d547ddd39ce.zip
clarify daemon() usage message
-rw-r--r--rc.d/init.d/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 8c4d2573..8c36e6b4 100644
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -148,7 +148,7 @@ daemon() {
nicelevel=0
while [ "$1" != "${1##[-+]}" ]; do
case $1 in
- '') echo $"$0: Usage: daemon [+/-nicelevel] {program}"
+ '') echo $"$0: Usage: daemon [+/-nicelevel] {program}" "[arg1]..."
return 1;;
--check)
base=$2
@@ -184,7 +184,7 @@ daemon() {
nice="nice -n $1"
shift
;;
- *) echo $"$0: Usage: daemon [+/-nicelevel] {program}"
+ *) echo $"$0: Usage: daemon [+/-nicelevel] {program}" "[arg1]..."
return 1;;
esac
done