Remove the restartdns functionality and promote the reloaddns functions (#5780)

This commit is contained in:
Adam Warner 2024-10-02 21:27:08 +01:00 committed by GitHub
commit 7dd2eb20a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 59 additions and 67 deletions

View file

@ -7,7 +7,7 @@ _pihole() {
case "${prev}" in
"pihole")
opts="allow allow-regex allow-wild deny checkout debug disable enable flush help logging query reconfigure regex restartdns status tail uninstall updateGravity updatePihole version wildcard arpflush api"
opts="allow allow-regex allow-wild deny checkout debug disable enable flush help logging query reconfigure regex reloaddns reloadlists status tail uninstall updateGravity updatePihole version wildcard arpflush api"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
;;
"allow"|"deny"|"wildcard"|"regex"|"allow-regex"|"allow-wild")