mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
commit
d8912fd0a7
6 changed files with 6 additions and 6 deletions
|
@ -121,7 +121,7 @@ displayHelp() {
|
||||||
::: -j, --json output stats as JSON formatted string
|
::: -j, --json output stats as JSON formatted string
|
||||||
::: -h, --help display this help text
|
::: -h, --help display this help text
|
||||||
EOM
|
EOM
|
||||||
exit 1
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $# = 0 ]]; then
|
if [[ $# = 0 ]]; then
|
||||||
|
|
|
@ -47,7 +47,7 @@ helpFunc() {
|
||||||
::: -h, --help Show this help dialog
|
::: -h, --help Show this help dialog
|
||||||
::: -l, --list Display your ${word}listed domains
|
::: -l, --list Display your ${word}listed domains
|
||||||
EOM
|
EOM
|
||||||
exit 1
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
HandleOther(){
|
HandleOther(){
|
||||||
|
|
|
@ -86,7 +86,7 @@ helpFunc() {
|
||||||
::: -h, --help Show this help dialog
|
::: -h, --help Show this help dialog
|
||||||
:::
|
:::
|
||||||
EOM
|
EOM
|
||||||
exit 1
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $# = 0 ]]; then
|
if [[ $# = 0 ]]; then
|
||||||
|
|
|
@ -23,7 +23,7 @@ helpFunc() {
|
||||||
::: -f, fahrenheit Set Fahrenheit temperature unit
|
::: -f, fahrenheit Set Fahrenheit temperature unit
|
||||||
::: -h, --help Show this help dialog
|
::: -h, --help Show this help dialog
|
||||||
EOM
|
EOM
|
||||||
exit 1
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
SetTemperatureUnit(){
|
SetTemperatureUnit(){
|
||||||
|
|
|
@ -23,7 +23,7 @@ helpFunc() {
|
||||||
::: -f, --force Force lists to be downloaded, even if they don't need updating.
|
::: -f, --force Force lists to be downloaded, even if they don't need updating.
|
||||||
::: -h, --help Show this help dialog
|
::: -h, --help Show this help dialog
|
||||||
EOM
|
EOM
|
||||||
exit 1
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
2
pihole
2
pihole
|
@ -227,7 +227,7 @@ helpFunc() {
|
||||||
::: pihole disable 5m - will disable blocking for 5 minutes
|
::: pihole disable 5m - will disable blocking for 5 minutes
|
||||||
::: restartdns Restart dnsmasq
|
::: restartdns Restart dnsmasq
|
||||||
EOM
|
EOM
|
||||||
exit 1
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $# = 0 ]]; then
|
if [[ $# = 0 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue