From b719fc9f6a584dfc2fb5caea8dd3d8934b2e4d6e Mon Sep 17 00:00:00 2001 From: Claudius Heine Date: Thu, 22 Oct 2020 08:35:08 +0200 Subject: [PATCH] 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 Signed-off-by: Jan Kiszka --- kas-container | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kas-container b/kas-container index e0c7190..5bddee8 100755 --- a/kas-container +++ b/kas-container @@ -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 ;;