diff --git a/acme.sh b/acme.sh index df4c7e4a..b9f69bc9 100755 --- a/acme.sh +++ b/acme.sh @@ -3613,8 +3613,11 @@ fi -[ -z "$1" ] && showhelp +main() { + [ -z "$1" ] && showhelp && return + if _startswith "$1" '-' ; then _process "$@"; else "$@";fi +} -if _startswith "$1" '-' ; then _process "$@" ; else "$@"; fi ; \ No newline at end of file +main "$@" \ No newline at end of file