fix: obd.sh -c
This commit is contained in:
@ -560,7 +560,16 @@ function main() {
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
-v ) VERBOSE_FLAG='-v'; set -x; shift ;;
|
-v ) VERBOSE_FLAG='-v'; set -x; shift ;;
|
||||||
--with-local-obproxy) WITH_LOCAL_PROXY="1";SKIP_COPY="1"; shift ;;
|
--with-local-obproxy) WITH_LOCAL_PROXY="1";SKIP_COPY="1"; shift ;;
|
||||||
-c | --config ) YAML_CONF="$2"; shift 2 ;;
|
-c | --config )
|
||||||
|
if [[ $commond == "deploy" || $commond == "redeploy" || $commond == "mysqltest" ]]
|
||||||
|
then
|
||||||
|
YAML_CONF="$2"
|
||||||
|
shift 2
|
||||||
|
else
|
||||||
|
extra_args="$extra_args $1"
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
;;
|
||||||
-n | --deploy-name ) DEPLOY_NAME="$2"; shift 2 ;;
|
-n | --deploy-name ) DEPLOY_NAME="$2"; shift 2 ;;
|
||||||
-p | --data-path ) DATA_PATH="$2"; shift 2 ;;
|
-p | --data-path ) DATA_PATH="$2"; shift 2 ;;
|
||||||
-N ) NO_CONFIRM="1"; shift ;;
|
-N ) NO_CONFIRM="1"; shift ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user