X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=complete_sat.sh;h=f3206adc9f98c23a62448d79d2e2f952cb4e7357;hb=HEAD;hp=4ac92f90bad6d57e4a5938296b856c24aa66f279;hpb=dfbc555a0466a131a72a8bb609370711626a3f70;p=tools%2Fsat.git diff --git a/complete_sat.sh b/complete_sat.sh index 4ac92f9..f3206ad 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 --no_browser $opts2) + opts2=$(echo --clean --full --last --terminal --last_compile --no_browser $opts2) ;; jobs) opts2=$(echo --name --only_jobs --list --completion --test_connection --input_boards --publish $opts2) @@ -58,6 +58,9 @@ _show_applications() base) opts2=$(echo --set $opts2) ;; + init) + opts2=$(echo --base --workdir --VCS --tag --log_dir --add_project --reset_projects $opts2) + ;; esac COMPREPLY=( $(compgen -W "${opts2}" -- ${cur}) ) @@ -104,7 +107,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 init --help --overwrite --debug --verbose --batch --all_in_terminal --logs_paths_in_file" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 fi @@ -154,32 +157,32 @@ _salomeTools_complete() # show argument for each command case "${command}" in config) - opts="--value --list --copy --edit --no_label --info --show_patchs" + opts="--value --list --copy --edit --no_label --info --check_system --show_patchs --show_dependencies --show_install --show_properties" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; log) - opts="--clean --last --terminal --last --no_browser" + opts="--clean --last --terminal --last --last_compile --no_browser" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; clean) - opts="--products --sources --build --install --all --sources_without_dev --properties" + opts="--products --sources --build --install --generated --package --all --sources_without_dev --properties" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; source) - opts="--products" + opts="--products --properties" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; patch) - opts="--products" + opts="--products --properties" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; prepare) - opts="--products --force --force_patch" + opts="--products --properties --force --force_patch --complete" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -204,12 +207,12 @@ _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 --force --properties --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 ;; launcher) - opts="--name --catalog --gencat" + opts="--products --name --exe --catalog --gencat --no_path_init --use_mesa" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -234,7 +237,7 @@ _salomeTools_complete() return 0 ;; package) - opts="--name --binaries --sources --project --salometools --with_vcs --without_commercial --without_property" + opts="--name --binaries --sources --exe --project --salometools --force_creation --add_files --with_vcs --ftp --without_property" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -273,6 +276,16 @@ _salomeTools_complete() COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; + check) + opts="--products" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + init) + opts="--base --workdir --VCS --tag --log_dir --add_project --reset_projects" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; *) return 0 ;; esac