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'
${type^}list one or more domains
Options:"
if [[ "${listMain}" == "${wildcardlist}" ]]; then
echo " -wild, --wildcard Block all subdomains of specified domain"
fi
echo " -d, --delmode Remove domain(s) from the ${type}list
Options:
-d, --delmode Remove domain(s) from the ${type}list
-nr, --noreload Update ${type}list without refreshing dnsmasq
-q, --quiet Make output less verbose
-h, --help Show this help dialog