provide better help text for default_build_type; closes #192

This commit is contained in:
Radovan Bast 2017-06-11 18:55:07 +02:00
parent 8386baed11
commit 7f21bfc10e

View File

@ -158,7 +158,8 @@ def process_yaml(argv):
if 'default_build_type' in config:
default_build_type = config['default_build_type'].lower()
else:
sys.stderr.write("ERROR: you have to specify default_build_type in autocmake.yml\n")
sys.stderr.write("ERROR: you have to specify default_build_type in autocmake.yml\n\n")
sys.stderr.write("# for instance like this (debug, release, relwithdebinfo, or minsizerel):\ndefault_build_type: release\n\n")
sys.exit(-1)
if 'setup_script' in config: