X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=complete_sat.sh;h=29ae207c7a1cc235e8faf52eb58c94c0f57634e1;hb=42de5980999cd55299fe8bb6d94f367cbd8a435c;hp=db4aefb90ac619c9660b5c28fd1ed3e76b2d0635;hpb=8fa395ef4a70ed3466a84eb3789cd636e9d18523;p=tools%2Fsat.git diff --git a/complete_sat.sh b/complete_sat.sh index db4aefb..29ae207 100755 --- a/complete_sat.sh +++ b/complete_sat.sh @@ -32,7 +32,7 @@ _show_applications() opts2=$(echo --list --value --edit --info $opts2) ;; log) - opts2=$(echo --clean --full --last --terminal $opts2) + opts2=$(echo --clean --full --last --terminal --no_browser $opts2) ;; jobs) opts2=$(echo --name --only_jobs --list --completion --test_connection --input_boards --publish $opts2) @@ -55,6 +55,9 @@ _show_applications() template) opts2=$(echo --name --template --target --param --info $opts2) ;; + base) + opts2=$(echo --set $opts2) + ;; esac COMPREPLY=( $(compgen -W "${opts2}" -- ${cur}) ) @@ -101,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 --help" + 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" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 fi @@ -151,17 +154,17 @@ _salomeTools_complete() # show argument for each command case "${command}" in config) - opts="--value --list --copy --edit --no_label --info" + opts="--value --list --copy --edit --no_label --info --show_patchs" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; log) - opts="--clean --last --terminal --last" + opts="--clean --last --terminal --last --no_browser" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; clean) - opts="--products --sources --build --install --all --sources_without_dev" + opts="--products --sources --build --install --all --sources_without_dev --properties" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -201,7 +204,7 @@ _salomeTools_complete() return 0 ;; compile) - opts="--products --with_fathers --with_children --clean_all --make_flags --show --stop_first_fail" + opts="--products --with_fathers --with_children --clean_all --make_flags --show --stop_first_fail --check" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -231,7 +234,7 @@ _salomeTools_complete() return 0 ;; package) - opts="--name --binaries --sources --project --salometools --with_vcs" + opts="--name --binaries --sources --project --salometools --with_vcs --without_commercial --without_property" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -255,6 +258,21 @@ _salomeTools_complete() COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; + base) + opts="--set" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + profile) + opts="--prefix --name --force --no_update --version --slogan" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + script) + opts="--products --nb_proc" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; *) return 0 ;; esac