

def show_error_and_exit(msg, parser=None):
    print(msg)
    if (parser is not None):
        parser.print_help()
    exit((- 1))

dataset/ETHPy150Open databricks/spark-package-cmd-tool/python/spark_package/spark_package.py show_error_and_exit/original