Fixes issue #453

This commit is contained in:
Promofaux 2016-04-10 21:17:58 +01:00
parent 01f53f6d6c
commit 05e0003555
4 changed files with 31 additions and 31 deletions

View file

@ -52,15 +52,15 @@ function helpFunc()
{
echo "::: Immediately whitelists one or more domains in the hosts file"
echo ":::"
echo "::: Usage: sudo pihole.sh -w domain1 [domain2 ...]"
echo "::: Usage: sudo pihole -w domain1 [domain2 ...]"
echo ":::"
echo "::: Options:"
echo "::: -d, --delmode Remove domains from the whitelist"
echo "::: -d, --delmode Remove domains from the whitelist"
echo "::: -nr, --noreload Update Whitelist without refreshing dnsmasq"
echo "::: -f, --force Force updating of the hosts files, even if there are no changes"
echo "::: -q, --quiet output is less verbose"
echo "::: -h, --help Show this help dialog"
echo "::: -l, --list Display your whitelisted domains"
echo "::: -f, --force Force updating of the hosts files, even if there are no changes"
echo "::: -q, --quiet output is less verbose"
echo "::: -h, --help Show this help dialog"
echo "::: -l, --list Display your whitelisted domains"
exit 1
}
@ -220,7 +220,7 @@ if $modifyHost || $force; then
else
if $verbose; then
echo ":::"
echo "::: No changes need to be made"
echo "::: No changes need to be made"
fi
exit 1
fi