From 3da5fca92f2d1cfe066c079cdd1bad0794dbb242 Mon Sep 17 00:00:00 2001 From: hl Date: Mon, 18 Nov 2024 06:12:10 +0800 Subject: [PATCH] update --- install-release.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install-release.sh b/install-release.sh index c1a7df3..d654273 100755 --- a/install-release.sh +++ b/install-release.sh @@ -195,7 +195,7 @@ usage(){ echo " string as name"; echo " -e Expression for sed (only for '-d -')"; echo " -c Command for reload"; - echo " -q Quite"; + echo " -v Verbose"; echo " -a Auth user[:pass]"; echo " -x Proxy [protocol://]host[:port]"; } @@ -213,10 +213,10 @@ PKG_NAME= PKG_DIR= SED_EXP= CMD_RELOAD= -VERBOSE=true +VERBOSE=false SET_AUTH= SET_PROXY= -while getopts ":r:t:k:m:u:bp:n:fo:d:e:c:qa:x:" OPT; do +while getopts ":r:t:k:m:u:bp:n:fo:d:e:c:va:x:" OPT; do case $OPT in r) REPO=$OPTARG; @@ -257,8 +257,8 @@ while getopts ":r:t:k:m:u:bp:n:fo:d:e:c:qa:x:" OPT; do c) CMD_RELOAD=$OPTARG; ;; - q) - VERBOSE=false; + v) + VERBOSE=true; ;; a) SET_AUTH="-u $OPTARG";