Reimplement option to exclude files

This commit is contained in:
Antonin Décimo
2015-06-26 12:47:50 +02:00
parent 48bda5fbc1
commit 4cda1607e9
4 changed files with 24 additions and 28 deletions

View File

@@ -7,7 +7,7 @@ _love-release()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="-L -a -d -e -h -i -l -p -r -t -u -v --author --clean --description --email --help --icon --love --pkg --release --title --url --version"
opts="-L -a -d -e -h -i -l -p -r -t -u -v -x --author --clean --description --email --exclude --help --icon --love --pkg --release --title --url --version"
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )