From 27fd80c01e9430a60917bf09668e8801bfc873fb Mon Sep 17 00:00:00 2001 From: Allen <64094914+allendema@users.noreply.github.com> Date: Thu, 15 Aug 2024 02:31:33 +0200 Subject: [PATCH] [fix] [v6] typo in bash-completion allow-regex option also removes a space from double whitespace Signed-off-by: Allen Dema <64094914+allendema@users.noreply.github.com> Signed-off-by: Allen <64094914+allendema@users.noreply.github.com> --- advanced/bash-completion/pihole | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/bash-completion/pihole b/advanced/bash-completion/pihole index 45536d69..112e64ab 100644 --- a/advanced/bash-completion/pihole +++ b/advanced/bash-completion/pihole @@ -1,5 +1,5 @@ _pihole() { - local cur prev opts opts_checkout opts_debug opts_logging opts_query opts_update opts_version + local cur prev opts opts_checkout opts_debug opts_logging opts_query opts_update opts_version COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" @@ -10,7 +10,7 @@ _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" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) ;; - "allow"|"deny"|"wildcard"|"regex"|"allow-regx"|"allow-wild") + "allow"|"deny"|"wildcard"|"regex"|"allow-regex"|"allow-wild") opts_lists="\not \--delmode \--quiet \--list \--help" COMPREPLY=( $(compgen -W "${opts_lists}" -- ${cur}) ) ;;