mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Fix whitespace
This commit is contained in:
parent
05e0003555
commit
48fa83c9ac
@ -51,18 +51,18 @@ fi
|
|||||||
|
|
||||||
function helpFunc()
|
function helpFunc()
|
||||||
{
|
{
|
||||||
echo "::: Immediately blacklists one or more domains in the hosts file"
|
echo "::: Immediately blacklists one or more domains in the hosts file"
|
||||||
echo ":::"
|
echo ":::"
|
||||||
echo "::: Usage: sudo pihole -b domain1 [domain2 ...]"
|
echo ":::"
|
||||||
echo ":::"
|
echo "::: Usage: sudo pihole -b domain1 [domain2 ...]"
|
||||||
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"
|
echo "::: -q, --quiet output is less verbose"
|
||||||
echo "::: -h, --help Show this help dialog"
|
echo "::: -h, --help Show this help dialog"
|
||||||
echo "::: -l, --list Display your blacklisted domains"
|
echo "::: -l, --list Display your blacklisted domains"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
function HandleOther(){
|
function HandleOther(){
|
||||||
|
@ -50,18 +50,18 @@ fi
|
|||||||
|
|
||||||
function helpFunc()
|
function helpFunc()
|
||||||
{
|
{
|
||||||
echo "::: Immediately whitelists one or more domains in the hosts file"
|
echo "::: Immediately whitelists one or more domains in the hosts file"
|
||||||
echo ":::"
|
echo ":::"
|
||||||
echo "::: Usage: sudo pihole -w domain1 [domain2 ...]"
|
echo "::: Usage: sudo pihole -w domain1 [domain2 ...]"
|
||||||
echo ":::"
|
echo ":::"
|
||||||
echo "::: Options:"
|
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 "::: -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"
|
echo "::: -q, --quiet output is less verbose"
|
||||||
echo "::: -h, --help Show this help dialog"
|
echo "::: -h, --help Show this help dialog"
|
||||||
echo "::: -l, --list Display your whitelisted domains"
|
echo "::: -l, --list Display your whitelisted domains"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
function HandleOther(){
|
function HandleOther(){
|
||||||
|
20
pihole
20
pihole
@ -81,16 +81,16 @@ function helpFunc {
|
|||||||
printf ":::\tAdd -h after -w (whitelist), -b (blacklist), or -c (chronometer) for more information on usage\n"
|
printf ":::\tAdd -h after -w (whitelist), -b (blacklist), or -c (chronometer) for more information on usage\n"
|
||||||
echo ":::"
|
echo ":::"
|
||||||
echo "::: Options:"
|
echo "::: Options:"
|
||||||
echo "::: -w, whitelist Whitelist domains"
|
echo "::: -w, whitelist Whitelist domains"
|
||||||
echo "::: -b, blacklist Blacklist domains"
|
echo "::: -b, blacklist Blacklist domains"
|
||||||
echo "::: -d, debug Start a debugging session if having trouble"
|
echo "::: -d, debug Start a debugging session if having trouble"
|
||||||
echo "::: -f, flush Flush the pihole.log file"
|
echo "::: -f, flush Flush the pihole.log file"
|
||||||
echo "::: -u, updateDashboard Update the web dashboard manually"
|
echo "::: -u, updateDashboard Update the web dashboard manually"
|
||||||
echo "::: -g, updateGravity Update the list of ad-serving domains"
|
echo "::: -g, updateGravity Update the list of ad-serving domains"
|
||||||
echo "::: -s, setupLCD Automatically configures the Pi to use the 2.8 LCD screen to display stats on it"
|
echo "::: -s, setupLCD Automatically configures the Pi to use the 2.8 LCD screen to display stats on it"
|
||||||
echo "::: -c, chronometer Calculates stats and displays to an LCD"
|
echo "::: -c, chronometer Calculates stats and displays to an LCD"
|
||||||
echo "::: -h, help Show this help dialog"
|
echo "::: -h, help Show this help dialog"
|
||||||
echo "::: uninstall Uninstall Pi-Hole from your system!"
|
echo "::: uninstall Uninstall Pi-Hole from your system!"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user