[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>
This commit is contained in:
parent
e89d93a5d3
commit
27fd80c01e
|
@ -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"
|
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}) )
|
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"
|
opts_lists="\not \--delmode \--quiet \--list \--help"
|
||||||
COMPREPLY=( $(compgen -W "${opts_lists}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${opts_lists}" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue