Catch more 1's
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
cb52ad3ba3
commit
925c80edd4
|
@ -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
|
||||||
|
|
|
@ -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(){
|
||||||
|
|
Loading…
Reference in New Issue