From f9a2ca5c3235750fb45cd36561059230d9c8ef90 Mon Sep 17 00:00:00 2001 From: Promofaux Date: Sat, 16 Jan 2016 00:47:45 +0000 Subject: [PATCH] Tidy up help text on both scripts. Add quiet help. --- advanced/Scripts/blacklist.sh | 6 ++++-- advanced/Scripts/whitelist.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/advanced/Scripts/blacklist.sh b/advanced/Scripts/blacklist.sh index 40bc224b..3c3c78c6 100644 --- a/advanced/Scripts/blacklist.sh +++ b/advanced/Scripts/blacklist.sh @@ -9,12 +9,14 @@ if [[ $# = 0 ]]; then echo "Immediately blacklists one or more domains in the hosts file" + echo " " echo "Usage: blacklist.sh domain1 [domain2 ...]" + echo " " 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 " -f, --force Force updating of the hosts files, even if there are no changes" - + echo " -q, --quiet output is less verbose" exit 1 fi diff --git a/advanced/Scripts/whitelist.sh b/advanced/Scripts/whitelist.sh index fa699be0..8d871c51 100755 --- a/advanced/Scripts/whitelist.sh +++ b/advanced/Scripts/whitelist.sh @@ -16,7 +16,7 @@ if [[ $# = 0 ]]; then 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" exit 1 fi