From bcf4c9a008693df1e2dae9e8a64089e53b56eb91 Mon Sep 17 00:00:00 2001 From: SRE Date: Fri, 5 May 2017 08:54:18 +0200 Subject: [PATCH] Update the completion regarding all the options. --- complete_sat.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/complete_sat.sh b/complete_sat.sh index 4ac92f9..9ea7c87 100755 --- a/complete_sat.sh +++ b/complete_sat.sh @@ -104,7 +104,7 @@ _salomeTools_complete() # first argument => show available commands if [[ ${argc} == 1 ]] then - opts="config log testcommand source patch prepare environ clean configure make makeinstall compile launcher run jobs job shell test package generate find_duplicates application template base profile script --help" + opts="config log source patch prepare environ clean configure make makeinstall compile launcher run jobs job shell test package generate find_duplicates application template base check profile script --help --overwrite --debug --verbose --batch --all_in_terminal --logs_paths_in_file" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 fi @@ -159,7 +159,7 @@ _salomeTools_complete() return 0 ;; log) - opts="--clean --last --terminal --last --no_browser" + opts="--clean --last --terminal --last --last_terminal --no_browser" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -204,7 +204,7 @@ _salomeTools_complete() return 0 ;; compile) - opts="--products --with_fathers --with_children --clean_all --make_flags --show --stop_first_fail --check --clean_build_after" + opts="--products --with_fathers --with_children --clean_all --clean_make --install_flags --show --stop_first_fail --check --clean_build_after" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -273,6 +273,11 @@ _salomeTools_complete() COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; + check) + opts="--products" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; *) return 0 ;; esac -- 2.30.2