From d4562a1debacac39414fe0176624ec49a03c9d09 Mon Sep 17 00:00:00 2001 From: deHakkelaar Date: Thu, 31 Jul 2025 18:03:43 +0200 Subject: [PATCH] Add "setpassword" to pihole Bash completion Its missing. After: ``` $ sudo pihole allow arpflush disable logging reloadlists tail version allow-regex checkout enable query repair uninstall wildcard allow-wild debug flush regex setpassword updateGravity api deny help reloaddns status updatePihole ``` Signed-off-by: deHakkelaar --- advanced/bash-completion/pihole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/bash-completion/pihole b/advanced/bash-completion/pihole index e0f9017b..acc5b71a 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 repair regex reloaddns reloadlists status tail uninstall updateGravity updatePihole version wildcard networkflush api" + opts="allow allow-regex allow-wild deny checkout debug disable enable flush help logging query repair regex reloaddns reloadlists setpassword status tail uninstall updateGravity updatePihole version wildcard networkflush api" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) ;; "allow"|"deny"|"wildcard"|"regex"|"allow-regex"|"allow-wild")