mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 06:10:20 +00:00
Tidy up help text on both scripts. Add quiet help.
This commit is contained in:
parent
2b0bee085b
commit
f9a2ca5c32
2 changed files with 5 additions and 3 deletions
|
@ -9,12 +9,14 @@
|
||||||
|
|
||||||
if [[ $# = 0 ]]; then
|
if [[ $# = 0 ]]; then
|
||||||
echo "Immediately blacklists one or more domains in the hosts file"
|
echo "Immediately blacklists one or more domains in the hosts file"
|
||||||
|
echo " "
|
||||||
echo "Usage: blacklist.sh domain1 [domain2 ...]"
|
echo "Usage: blacklist.sh domain1 [domain2 ...]"
|
||||||
|
echo " "
|
||||||
echo "Options:"
|
echo "Options:"
|
||||||
echo " -d, --delmode Remove domains from the blacklist"
|
echo " -d, --delmode Remove domains from the blacklist"
|
||||||
echo " -nr, --noreload Update blacklist without refreshing dnsmasq"
|
echo " -nr, --noreload Update blacklist without refreshing dnsmasq"
|
||||||
echo " -f, --force Force updating of the hosts files, even if there are no changes"
|
echo " -f, --force Force updating of the hosts files, even if there are no changes"
|
||||||
|
echo " -q, --quiet output is less verbose"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ if [[ $# = 0 ]]; then
|
||||||
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 " -nr, --noreload Update Whitelist without refreshing dnsmasq"
|
||||||
echo " -f, --force Force updating of the hosts files, even if there are no changes"
|
echo " -f, --force Force updating of the hosts files, even if there are no changes"
|
||||||
|
echo " -q, --quiet output is less verbose"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue