change helper functions to match other script for consistency
This commit is contained in:
parent
1f292a1733
commit
cbf005d238
6
jnrmor
6
jnrmor
|
|
@ -153,19 +153,19 @@ fi
|
||||||
|
|
||||||
function debug {
|
function debug {
|
||||||
if [ "$dflag" == "1" ]; then
|
if [ "$dflag" == "1" ]; then
|
||||||
echo "[debug] $1"
|
echo "[debug] $@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function info {
|
function info {
|
||||||
if [ "$qflag" != "1" ]; then
|
if [ "$qflag" != "1" ]; then
|
||||||
echo "$1"
|
echo "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function info_n {
|
function info_n {
|
||||||
if [ "$qflag" != "1" ]; then
|
if [ "$qflag" != "1" ]; then
|
||||||
echo -n "$1"
|
echo -n "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue