From a8e55822d23c14443aa478e79e995a1dd6585ff4 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 19 Dec 2014 11:07:41 -0500 Subject: [PATCH] rtpengine-ctl: use $0 as name in help output --- utils/rtpengine-ctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/rtpengine-ctl b/utils/rtpengine-ctl index 413b92fea..e69deb12c 100755 --- a/utils/rtpengine-ctl +++ b/utils/rtpengine-ctl @@ -10,7 +10,7 @@ prgdir=${0%$prgname} showusage() { echo "" - echo " rectl [ -ip -port ] " + echo " $0 [ -ip -port ] " echo "" echo " Supported commands are:" echo "" @@ -36,7 +36,7 @@ if [ $# -eq 0 ]; then showusage; fi command -v nc 2>&1 >/dev/null if [ $? -ne 0 ]; then - echo "Error: rectl requires netcat to be installed." + echo "Error: $0 requires netcat to be installed." exit 0 fi