mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-26 08:52:16 +00:00
abuild: add -V for print abuild version
This commit is contained in:
parent
66177eb5ec
commit
511b934182
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user