neue Optionen (-r, Installskript) installiert
This commit is contained in:
parent
5f283b0fb1
commit
ea5e2450ea
15 changed files with 273 additions and 42 deletions
|
|
@ -7,7 +7,7 @@ _ntu_completion() {
|
|||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
# All available options
|
||||
opts="--dry-run --no-changes --quiet --force --exclude --verbose --modify-root --special --help --version -n -q -f -e -v -h -V"
|
||||
opts="--recursive --conf --dry-run --no-changes --quiet --force --exclude --verbose --modify-root --special --no-color --help --version -r -n -q -f -e -v -h -V"
|
||||
|
||||
# Handle options that require arguments
|
||||
case "${prev}" in
|
||||
|
|
@ -16,6 +16,11 @@ _ntu_completion() {
|
|||
COMPREPLY=( $(compgen -W '"*.tmp" "*.log" "*.bak" "*.swp" "*~"' -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
--conf)
|
||||
# Suggest files for config option
|
||||
COMPREPLY=( $(compgen -f -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue