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

Fix wildcard help text

* -wild is not a valid option since we're already using -wild
This commit is contained in:
WaLLy3K 2017-05-16 10:23:53 +10:00 committed by GitHub
parent 7d17c652f3
commit 7453bf2ee6

View File

@ -40,13 +40,8 @@ helpFunc() {
Example: 'pihole -${param} site.com', or 'pihole -${param} site1.com site2.com' Example: 'pihole -${param} site.com', or 'pihole -${param} site1.com site2.com'
${type^}list one or more domains ${type^}list one or more domains
Options:" Options:
-d, --delmode Remove domain(s) from the ${type}list
if [[ "${listMain}" == "${wildcardlist}" ]]; then
echo " -wild, --wildcard Block all subdomains of specified domain"
fi
echo " -d, --delmode Remove domain(s) from the ${type}list
-nr, --noreload Update ${type}list without refreshing dnsmasq -nr, --noreload Update ${type}list without refreshing dnsmasq
-q, --quiet Make output less verbose -q, --quiet Make output less verbose
-h, --help Show this help dialog -h, --help Show this help dialog