kas-container: rename -v to -d and deprecate -v

kas itself has a `-d` parameter that allows to print debug information,
while kas-container has the `-v` parameter. Since the `-d` parameter of
kas was first, rename the `-v` parameter of kas-container to fit kas.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Claudius Heine 2020-10-22 08:35:08 +02:00 committed by Jan Kiszka
parent 5e3ca820b3
commit b719fc9f6a

View File

@ -44,7 +44,8 @@ usage()
"container runtime\n"
printf "%b" "\t\t\tfor running the build.\n"
printf "%b" "--docker-args\t\tSame as --runtime-args (deprecated).\n"
printf "%b" "-v\t\t\tPrint operations.\n"
printf "%b" "-d\t\t\tPrint debug output.\n"
printf "%b" "-v\t\t\tSame as -d (deprecated).\n"
printf "%b" "--ssh-dir\t\tDirectory containing SSH configurations.\n"
printf "%b" "\t\t\tAvoid \$HOME/.ssh unless you fully trust the " \
"container.\n"
@ -168,7 +169,7 @@ while [ $# -gt 0 ]; do
KAS_NO_PROXY_FROM_ENV=1
shift 1
;;
-v)
-v | -d)
KAS_VERBOSE=1
shift 1
;;