1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

Add back --wild list.sh help and use -- for long params like --regex

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12 2018-07-15 18:59:25 -04:00
parent 25812f88f6
commit f8d4c36f6d
No known key found for this signature in database
GPG Key ID: ABB8FC9789AF524D

View File

@ -32,8 +32,11 @@ helpFunc() {
if [[ "${listMain}" == "${whitelist}" ]]; then
param="w"
type="white"
elif [[ "${listMain}" == "${regexlist}" && "${wildcard}" == true ]]; then
param="-wild"
type="wildcard black"
elif [[ "${listMain}" == "${regexlist}" ]]; then
param="wild"
param="-regex"
type="regex black"
else
param="b"