From ac0bc72a34082aae6a8e113c3f2cd55f73472e1c Mon Sep 17 00:00:00 2001 From: Barton Chittenden Date: Tue, 23 Jun 2015 07:02:10 -0700 Subject: [PATCH] Bug 12372: (QA followup) Standardized argument parsing for koha-mysql. http://bugs.koha-community.org/show_bug.cgi?id=12372 Signed-off-by: Liz Rea Signed-off-by: Jonathan Druart --- debian/scripts/koha-mysql | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/debian/scripts/koha-mysql b/debian/scripts/koha-mysql index baf2d5c..4a09e51 100755 --- a/debian/scripts/koha-mysql +++ b/debian/scripts/koha-mysql @@ -29,8 +29,24 @@ else exit 1 fi -is_instance "$1" || die "Usage: $0 instancename" +usage() +{ + local scriptname=$0 + cat <