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 --- apkgrel.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apkgrel.in') diff --git a/apkgrel.in b/apkgrel.in index 94acd55..41da423 100644 --- a/apkgrel.in +++ b/apkgrel.in @@ -74,8 +74,8 @@ do_nothing() { usage() { cat >&2 <<__EOF__ -$prog $abuild_ver - display or bump pkgrel in APKBUILDs -Usage: $prog [-z|--zero] [-a|--add] [-g|--clean-git] [-s|--set NUM] [-t|--test] [-f|--force] DIR or APKBUILD... +$program $abuild_ver - display or bump pkgrel in APKBUILDs +Usage: $program [-z|--zero] [-a|--add] [-g|--clean-git] [-s|--set NUM] [-t|--test] [-f|--force] DIR or APKBUILD... Options: -z, --zero Set pkgrel to 0 -a, --add Add 1 to current pkgrel @@ -93,7 +93,8 @@ force= setto= only_clean_git= -args=`getopt -o zags:tfqh --long zero,add,clean-git,set:,test,force,quiet,help -n "$prog" -- "$@"` +args=`getopt -o zags:tfqh --long zero,add,clean-git,set:,test,force,quiet,help \ + -n "$program" -- "$@"` if [ $? -ne 0 ]; then usage exit 2 -- cgit v1.2.3-60-g2f50