mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-24 00:00:14 +00:00
Add --whitewild to help texts and man pages.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
40d0caa70b
commit
6f58d58cae
3 changed files with 21 additions and 7 deletions
|
@ -32,15 +32,18 @@ helpFunc() {
|
|||
if [[ "${listType}" == "whitelist" ]]; then
|
||||
param="w"
|
||||
type="whitelist"
|
||||
elif [[ "${listType}" == "regex_blacklist" && "${wildcard}" == true ]]; then
|
||||
param="-wild"
|
||||
type="wildcard blacklist"
|
||||
elif [[ "${listType}" == "regex_blacklist" ]]; then
|
||||
param="-regex"
|
||||
type="regex blacklist filter"
|
||||
elif [[ "${listType}" == "regex_blacklist" ]]; then
|
||||
elif [[ "${listType}" == "regex_blacklist" && "${wildcard}" == true ]]; then
|
||||
param="-wild"
|
||||
type="wildcard blacklist"
|
||||
elif [[ "${listType}" == "regex_whitelist" ]]; then
|
||||
param="-whiteregex"
|
||||
type="regex whitelist filter"
|
||||
elif [[ "${listType}" == "regex_whitelist" && "${wildcard}" == true ]]; then
|
||||
param="-whitewild"
|
||||
type="wildcard whitelist"
|
||||
else
|
||||
param="b"
|
||||
type="blacklist"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue