From: Ian Jackson Date: Thu, 2 May 2019 13:49:31 +0000 (+0100) Subject: mg-repro-setup: Allow arguments to badusage X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bc13f699cd8e48b9881a19e7b0e7518c17e706b2;p=people%2Froyger%2Fosstest.git mg-repro-setup: Allow arguments to badusage No functional change with existing call sites. Signed-off-by: Ian Jackson --- diff --git a/mg-repro-setup b/mg-repro-setup index b41bf47..d63e29b 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -46,7 +46,7 @@ END } -badusage () { echo >&2 "bad usage"; usage >&2; exit 126; } +badusage () { echo >&2 "bad usage$*"; usage >&2; exit 126; } set -e -o posix