diff --git a/advanced/bash-completion/pihole b/advanced/bash-completion/pihole index 822ec288..4343cf92 100644 --- a/advanced/bash-completion/pihole +++ b/advanced/bash-completion/pihole @@ -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") diff --git a/manpages/pihole.8 b/manpages/pihole.8 index 3da23ffe..5964c691 100644 --- a/manpages/pihole.8 +++ b/manpages/pihole.8 @@ -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 diff --git a/pihole b/pihole index 3b98d2a9..df8225ab 100755 --- a/pihole +++ b/pihole @@ -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 "$@";;