From: Michael Tremer Date: Sat, 28 Jul 2012 09:03:11 +0000 (+0000) Subject: Make the print function print strings that start with a dash. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40e3553f0aaf489a309255b63fd91570e8b9e0b5;p=people%2Fstevee%2Fnetwork.git Make the print function print strings that start with a dash. --- diff --git a/functions.util b/functions.util index d433aa40..3c5bca5e 100644 --- a/functions.util +++ b/functions.util @@ -23,7 +23,7 @@ function print() { local fmt=${1}; shift - printf "${fmt}\n" "$@" + printf -- "${fmt}\n" "$@" } # Print a pretty error message