Skip to content

Commit a468ef9

Browse files
authored
Enhance error message
1 parent 1da0e55 commit a468ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def process_eb_args(eb_args, eb_go, cfg_settings, modtool, testing, init_session
346346
]
347347
any_pr_option_set = len(set_pr_options) > 0
348348
if len(set_pr_options) > 1:
349-
raise EasyBuildError("The following options are set but incompatible: %s.\nRemove at least one!",
349+
raise EasyBuildError("The following options are set but incompatible: %s.\nYou can only use one at a time!",
350350
', '.join(['--' + opt.replace('_', '-') for opt in set_pr_options]))
351351
# command line options that do not require any easyconfigs to be specified
352352
no_ec_opts = [options.aggregate_regtest, options.regtest, any_pr_option_set, search_query]

0 commit comments

Comments
 (0)