1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-10-23 00:09:23 +00:00

Rename reloaddns-lists to reloadlists per suggestion

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Adam Warner <github@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2024-10-02 19:31:39 +01:00
parent cc476a49fe
commit be00f3e723
No known key found for this signature in database
3 changed files with 5 additions and 5 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 reloaddns reloaddns-lists 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")

View File

@ -241,7 +241,7 @@ Available commands and options:
Update the lists and flush the cache without restarting the DNS server
.br
\fBreloaddns-lists\fR
\fBreloadlists\fR
.br
Update the lists WITHOUT flushing the cache or restarting the DNS server
.br

6
pihole
View File

@ -505,7 +505,7 @@ Options:
disable Disable Pi-hole subsystems
Add '-h' for more info on disable usage
reloaddns Update the lists and flush the cache without restarting the DNS server
reloaddns-lists Update the lists WITHOUT flushing the cache or restarting the DNS server
reloadlists Update the lists WITHOUT flushing the cache or restarting the DNS server
checkout Switch Pi-hole subsystems to a different GitHub branch
Add '-h' for more info on checkout usage
arpflush Flush information stored in Pi-hole's network tables";
@ -543,7 +543,7 @@ case "${1}" in
"-d" | "debug" ) ;;
"-g" | "updateGravity" ) ;;
"reloaddns" ) ;;
"reloaddns-lists" ) ;;
"reloadlists" ) ;;
"setpassword" ) ;;
"checkout" ) ;;
"updatechecker" ) ;;
@ -585,7 +585,7 @@ case "${1}" in
"enable" ) piholeEnable true "$2";;
"disable" ) piholeEnable false "$2";;
"reloaddns" ) reloadDNS "reload";;
"reloaddns-lists" ) reloadDNS "reload-lists";;
"reloadlists" ) reloadDNS "reload-lists";;
"setpassword" ) SetWebPassword "$@";;
"checkout" ) piholeCheckoutFunc "$@";;
"updatechecker" ) shift; updateCheckFunc "$@";;