From 7f21bfc10e536a480577533f7e8fd1656a95ab32 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Sun, 11 Jun 2017 18:55:07 +0200 Subject: [PATCH] provide better help text for default_build_type; closes #192 --- update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update.py b/update.py index 7a183c2..3b77b2e 100644 --- a/update.py +++ b/update.py @@ -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: