base)
opts2=$(echo --set $opts2)
;;
+ init)
+ opts2=$(echo --base --workdir --VCS --tag --log_dir $opts2)
+ ;;
esac
COMPREPLY=( $(compgen -W "${opts2}" -- ${cur}) )
# first argument => show available commands
if [[ ${argc} == 1 ]]
then
- 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"
+ 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
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"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
return 0
;;
compile)
- opts="--products --with_fathers --with_children --clean_all --clean_make --install_flags --show --stop_first_fail --check --clean_build_after"
+ opts="--products --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
;;
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
+ init)
+ opts="--base --workdir --VCS --tag --log_dir"
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ return 0
+ ;;
*) return 0 ;;
esac