Catch more 1's

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper 2016-12-01 15:10:06 -08:00
parent cb52ad3ba3
commit 925c80edd4
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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(){