Made the script exit if the -h,-?,--help flag was given

This commit is contained in:
Karma Riuk 2021-09-19 16:50:39 +02:00
parent 584ec872d6
commit 2c7f7e60f5

View File

@ -271,7 +271,7 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then #if '__name__' == '__main__'
-h|-\?|--help) -h|-\?|--help)
verbose && echo "Detected -h, -? or --help" verbose && echo "Detected -h, -? or --help"
usage usage
shift exit
;; ;;
esac esac
done done