diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-28 12:47:31 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-28 12:47:31 +0300 |
commit | 3c8e93c28ec1388a2a9436d2dd7fb8687e9ce333 (patch) | |
tree | 6eddf553e36482e1b9ba9271a386f7d9fbf80c5c /include/parameters | |
parent | 7155afa2bb005875f25b88f3447e1d7ef8e6fe7d (diff) |
Improve usage and display of update tool
Diffstat (limited to 'include/parameters')
-rw-r--r-- | include/parameters | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/parameters b/include/parameters index 6f5d37e0..978c0b01 100644 --- a/include/parameters +++ b/include/parameters @@ -116,14 +116,14 @@ show) CHECK_BINARIES=0 HELPER="show" + LOGTEXT=0 QUIET=1 RUN_HELPERS=1 RUN_TESTS=0 RUN_UPDATE_CHECK=0 SKIP_PLUGINS=1 - LOGTEXT=0 - SHOW_TOOL_TIPS=0 SHOW_PROGRAM_DETAILS=0 + SHOW_TOOL_TIPS=0 shift; HELPER_PARAMS="$@" break ;; @@ -135,12 +135,14 @@ QUIET=1 SKIP_PLUGINS=1 RUN_TESTS=0 + RUN_UPDATE_CHECK=0 SHOW_PROGRAM_DETAILS=0 - if [ ! $2 = "" ]; then + SHOW_TOOL_TIPS=0 + if [ $# -gt 1 ]; then shift - HELPER_PARAMS="$1 $2" + HELPER_PARAMS="$1" break - else + else echo "${RED}Error: ${WHITE}Need a target for update${NORMAL}" echo " " echo "Examples:" |