Merge pull request #2278 from pi-hole/fix/missing-wildlist-help-and-double-dash

Add back --wild list.sh help and use -- for long params like --regex
pull/2284/head
WaLLy3K 6 years ago committed by GitHub
commit 4834452875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"

Loading…
Cancel
Save