1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +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 case "${prev}" in
"pihole") "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}) ) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
;; ;;
"allow"|"deny"|"wildcard"|"regex"|"allow-regex"|"allow-wild") "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 Update the lists and flush the cache without restarting the DNS server
.br .br
\fBreloaddns-lists\fR \fBreloadlists\fR
.br .br
Update the lists WITHOUT flushing the cache or restarting the DNS server Update the lists WITHOUT flushing the cache or restarting the DNS server
.br .br

6
pihole
View File

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