From c30985920de7fc327ba653c538d6f57502d5a304 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 Signed-off-by: Tomas Cohen Arazi --- 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 baf2d5ce8b..4a09e51c77 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 <