aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
authorFilip Krska <fkrska@redhat.com>2015-05-04 13:04:46 +0200
committerLukas Nykryn <lnykryn@redhat.com>2015-05-04 13:04:46 +0200
commitc034f81bb4fb0c75bb09aefa85a5b657fabe30f7 (patch)
tree5fb90b7bea1adb96a235b16c6e83723d88d2a7e2 /rc.d/init.d/functions
parent6f860ee8e85cc154c224ba6351da8317c4ff2943 (diff)
downloadinitscripts-c034f81bb4fb0c75bb09aefa85a5b657fabe30f7.tar
initscripts-c034f81bb4fb0c75bb09aefa85a5b657fabe30f7.tar.gz
initscripts-c034f81bb4fb0c75bb09aefa85a5b657fabe30f7.tar.bz2
initscripts-c034f81bb4fb0c75bb09aefa85a5b657fabe30f7.tar.xz
initscripts-c034f81bb4fb0c75bb09aefa85a5b657fabe30f7.zip
clarify daemon() usage message
Diffstat (limited to 'rc.d/init.d/functions')
-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 245cc3f5..0ba07b08 100644
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -151,7 +151,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
@@ -187,7 +187,7 @@ daemon() {
nice="nice -n $1"
shift
;;
- *) echo $"$0: Usage: daemon [+/-nicelevel] {program}"
+ *) echo $"$0: Usage: daemon [+/-nicelevel] {program}" "[arg1]..."
return 1;;
esac
done