Merge pull request #667 from pi-hole/piholeBashCompletionUpdate

Add the newer pihole command tags to the bash auto complete!
This commit is contained in:
Dan Schaper 2016-09-06 15:02:13 -07:00 committed by GitHub
commit 150e01be8b

View file

@ -4,7 +4,7 @@ _pihole()
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="whitelist blacklist debug flush updateDashboard updateGravity setupLCD chronometer uninstall help"
opts="blacklist chronometer debug flush help query setupLCD uninstall updateDashboard updateGravity updatePihole version whitelist"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0