From 1822f3f624e35898908fbe5edc0d282cefb92ac0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 25 Oct 2013 07:24:46 +0000 Subject: functions: rename prog to program --- abump.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'abump.in') diff --git a/abump.in b/abump.in index eef57d5..c16d2c1 100755 --- a/abump.in +++ b/abump.in @@ -81,8 +81,8 @@ fixes #${fixes#\#} usage() { cat >&2 <<__EOF__ -$prog $abuild_ver - bump pkgver in APKBUILDs -Usage: $prog [-s CVE-1,CVE-2,...] [-f ISSUE] [-R|--recursive] [-k|--keep] PKGNAME-1.2.3 ... +$program $abuild_ver - bump pkgver in APKBUILDs +Usage: $program [-s CVE-1,CVE-2,...] [-f ISSUE] [-R|--recursive] [-k|--keep] PKGNAME-1.2.3 ... Options: -s, --security CVE1,CVE-2,... Security update -f, --fixes ISSUE Fixes ISSUE @@ -102,7 +102,8 @@ fixes= [ -n "$APORTSDIR" ] || error "can't locate \$APORTSDIR" git rev-parse 2>/dev/null || die "not in a git tree" -args=`getopt -o f:s:Rkqh --long fixes:,security:,recursive,keep,quiet,help -n "$prog" -- "$@"` +args=`getopt -o f:s:Rkqh --long fixes:,security:,recursive,keep,quiet,help \ + -n "$program" -- "$@"` if [ $? -ne 0 ]; then usage exit 2 -- cgit v1.2.3-60-g2f50