From 511b93418213f9e33cfcef23d484798d9cbd6056 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 1 Oct 2019 16:51:21 +0000 Subject: abuild: add -V for print abuild version --- abuild.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index c11b4b0..a487481 100644 --- a/abuild.in +++ b/abuild.in @@ -2493,7 +2493,7 @@ usage() { APKBUILD="${APKBUILD:-./APKBUILD}" unset force -while getopts ":AcdD:fFhkKmnP:qrRs:uv" opt; do +while getopts ":AcdD:fFhkKmnP:qrRs:uvV" opt; do case $opt in 'A') echo "$CARCH"; exit 0;; 'c') enable_colors @@ -2513,6 +2513,7 @@ while getopts ":AcdD:fFhkKmnP:qrRs:uv" opt; do 'r') install_deps="-r";; 's') SRCDEST=$OPTARG;; 'v') set -x;; + 'V') echo "$program $program_version"; exit 0;; '?') die "Unrecognized option: $OPTARG";; esac done -- cgit v1.2.3-70-g09d2