summaryrefslogtreecommitdiffstats
path: root/apkgrel.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-25 07:24:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-25 07:24:46 +0000
commit1822f3f624e35898908fbe5edc0d282cefb92ac0 (patch)
treee5f78a494fc11f4fcbc3c88ec26564b7cdbe75a2 /apkgrel.in
parenta924d3c171f81a28fe0610e76274a0b7f8473f64 (diff)
downloadabuild-1822f3f624e35898908fbe5edc0d282cefb92ac0.tar.bz2
abuild-1822f3f624e35898908fbe5edc0d282cefb92ac0.tar.xz
functions: rename prog to program
Diffstat (limited to 'apkgrel.in')
-rw-r--r--apkgrel.in7
1 files changed, 4 insertions, 3 deletions
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