mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +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
|
if [[ "${listType}" == "whitelist" ]]; then
|
||||||
param="w"
|
param="w"
|
||||||
type="whitelist"
|
type="whitelist"
|
||||||
elif [[ "${listType}" == "regex_blacklist" && "${wildcard}" == true ]]; then
|
|
||||||
param="-wild"
|
|
||||||
type="wildcard blacklist"
|
|
||||||
elif [[ "${listType}" == "regex_blacklist" ]]; then
|
elif [[ "${listType}" == "regex_blacklist" ]]; then
|
||||||
param="-regex"
|
param="-regex"
|
||||||
type="regex blacklist filter"
|
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"
|
param="-whiteregex"
|
||||||
type="regex whitelist filter"
|
type="regex whitelist filter"
|
||||||
|
elif [[ "${listType}" == "regex_whitelist" && "${wildcard}" == true ]]; then
|
||||||
|
param="-whitewild"
|
||||||
|
type="wildcard whitelist"
|
||||||
else
|
else
|
||||||
param="b"
|
param="b"
|
||||||
type="blacklist"
|
type="blacklist"
|
||||||
|
|
|
@ -66,14 +66,24 @@ Available commands and options:
|
||||||
Adds or removes specified domain or domains to the blacklist
|
Adds or removes specified domain or domains to the blacklist
|
||||||
.br
|
.br
|
||||||
|
|
||||||
|
\fB--regex, regex\fR [options] [<regex1> <regex2 ...>]
|
||||||
|
.br
|
||||||
|
Add or removes specified regex filter to the regex blacklist
|
||||||
|
.br
|
||||||
|
|
||||||
|
\fB--whiteregex\fR [options] [<regex1> <regex2 ...>]
|
||||||
|
.br
|
||||||
|
Add or removes specified regex filter to the regex whitelist
|
||||||
|
.br
|
||||||
|
|
||||||
\fB--wild, wildcard\fR [options] [<domain1> <domain2 ...>]
|
\fB--wild, wildcard\fR [options] [<domain1> <domain2 ...>]
|
||||||
.br
|
.br
|
||||||
Add or removes specified domain to the wildcard blacklist
|
Add or removes specified domain to the wildcard blacklist
|
||||||
.br
|
.br
|
||||||
|
|
||||||
\fB--regex, regex\fR [options] [<regex1> <regex2 ...>]
|
\fB--whitewild\fR [options] [<domain1> <domain2 ...>]
|
||||||
.br
|
.br
|
||||||
Add or removes specified regex filter to the regex blacklist
|
Add or removes specified domain to the wildcard whitelist
|
||||||
.br
|
.br
|
||||||
|
|
||||||
(Whitelist/Blacklist manipulation options):
|
(Whitelist/Blacklist manipulation options):
|
||||||
|
|
3
pihole
3
pihole
|
@ -375,9 +375,10 @@ Add '-h' after specific commands for more information on usage
|
||||||
Whitelist/Blacklist Options:
|
Whitelist/Blacklist Options:
|
||||||
-w, whitelist Whitelist domain(s)
|
-w, whitelist Whitelist domain(s)
|
||||||
-b, blacklist Blacklist domain(s)
|
-b, blacklist Blacklist domain(s)
|
||||||
--wild, wildcard Wildcard blacklist domain(s)
|
|
||||||
--regex, regex Regex blacklist domains(s)
|
--regex, regex Regex blacklist domains(s)
|
||||||
--whiteregex Regex whitelist domains(s)
|
--whiteregex Regex whitelist domains(s)
|
||||||
|
--wild, wildcard Wildcard blacklist domain(s)
|
||||||
|
--whitewild Wildcard whitelist domain(s)
|
||||||
Add '-h' for more info on whitelist/blacklist usage
|
Add '-h' for more info on whitelist/blacklist usage
|
||||||
|
|
||||||
Debugging Options:
|
Debugging Options:
|
||||||
|
|
Loading…
Reference in a new issue