X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=complete_sat.sh;h=c17a4cb5c279c3725fb0fbc1207d7b58c0d9484c;hb=5398c1020a6e1738ca88771e12c861fedeb16a1f;hp=3c3ee31763fd180bd5ecfe4ff2bf48ed04f0806c;hpb=bdd2b0668b26de3e52a44957802177dc7c5448ce;p=tools%2Fsat.git diff --git a/complete_sat.sh b/complete_sat.sh index 3c3ee31..c17a4cb 100755 --- a/complete_sat.sh +++ b/complete_sat.sh @@ -49,6 +49,15 @@ _show_applications() package) opts2=$(echo --name --project --salometools $opts2) ;; + find_duplicates) + opts2=$(echo --path --exclude-file --exclude-extension --exclude-path $opts2) + ;; + template) + opts2=$(echo --name --template --target --param --info $opts2) + ;; + base) + opts2=$(echo --set $opts2) + ;; esac COMPREPLY=( $(compgen -W "${opts2}" -- ${cur}) ) @@ -95,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 --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 --help" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 fi @@ -229,6 +238,31 @@ _salomeTools_complete() COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; + generate) + opts="--products --yacsgen" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + find_duplicates) + opts="--path --sources --exclude-file --exclude-extension --exclude-path" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + application) + opts="--name --catalog --target --gencat --module" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + template) + opts="--name --template --target --param --info" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + base) + opts="--set" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; *) return 0 ;; esac