1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-09 07:30:56 +00:00

Merge pull request #986 from pi-hole/autoCompletes

add missing pihole autocomplete commands
This commit is contained in:
Dan Schaper 2016-12-14 12:58:50 -08:00 committed by GitHub
commit 09cfa9bb20

View File

@ -3,7 +3,7 @@ _pihole() {
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="blacklist chronometer debug flush help query reconfigure setupLCD uninstall updateGravity updatePihole version whitelist"
opts="admin blacklist chronometer debug disable enable flush help logging query reconfigure restartdns setupLCD status tail uninstall updateGravity updatePihole version whitelist"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0