From 7453bf2ee62dfb9c79384ef43856a7446e4173da Mon Sep 17 00:00:00 2001 From: WaLLy3K Date: Tue, 16 May 2017 10:23:53 +1000 Subject: [PATCH] Fix wildcard help text * -wild is not a valid option since we're already using -wild --- advanced/Scripts/list.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/advanced/Scripts/list.sh b/advanced/Scripts/list.sh index 378d8402..308e1f5e 100755 --- a/advanced/Scripts/list.sh +++ b/advanced/Scripts/list.sh @@ -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