aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-02 05:17:35 -0400
committerJack Lloyd <[email protected]>2017-09-02 05:17:35 -0400
commitdc672bf97fb3ffa582fe66ba20ab483df05e01ae (patch)
treeeb9264af49db7eb44fe483abc0ce926c0c647afa
parent2cfff133fd41ebba1c404df4fe1a4e27dacf392a (diff)
s/MAYOR/MAJOR/
-rwxr-xr-xconfigure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index ebe3bfffc..8febea5d2 100755
--- a/configure.py
+++ b/configure.py
@@ -272,7 +272,7 @@ def process_command_line(args): # pylint: disable=too-many-locals
help='set the desired build compiler')
target_group.add_option('--cc-min-version', dest='cc_min_version', default=None,
- metavar='MAYOR.MINOR',
+ metavar='MAJOR.MINOR',
help='Set the minimal version of the target compiler. ' \
'Use --cc-min-version=0.0 to support all compiler versions. ' \
'Default is auto detection.')
@@ -2930,7 +2930,7 @@ def validate_options(options, info_os, info_cc, available_module_policies):
options.compiler, ' '.join(sorted(info_cc.keys()))))
if options.cc_min_version is not None and not re.match(r'^[0-9]+\.[0-9]+$', options.cc_min_version):
- raise UserError("--cc-min-version must have the format MAYOR.MINOR")
+ raise UserError("--cc-min-version must have the format MAJOR.MINOR")
if options.module_policy and options.module_policy not in available_module_policies:
raise UserError("Unknown module set %s" % options.module_policy)