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
This commit is contained in:
commit
4834452875
|
@ -32,8 +32,11 @@ helpFunc() {
|
||||||
if [[ "${listMain}" == "${whitelist}" ]]; then
|
if [[ "${listMain}" == "${whitelist}" ]]; then
|
||||||
param="w"
|
param="w"
|
||||||
type="white"
|
type="white"
|
||||||
|
elif [[ "${listMain}" == "${regexlist}" && "${wildcard}" == true ]]; then
|
||||||
|
param="-wild"
|
||||||
|
type="wildcard black"
|
||||||
elif [[ "${listMain}" == "${regexlist}" ]]; then
|
elif [[ "${listMain}" == "${regexlist}" ]]; then
|
||||||
param="wild"
|
param="-regex"
|
||||||
type="regex black"
|
type="regex black"
|
||||||
else
|
else
|
||||||
param="b"
|
param="b"
|
||||||
|
|
Loading…
Reference in New Issue