aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-03-27 18:35:24 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-03-27 18:35:24 +0530
commit1ff0fccc295f5f656f4bf8524bd58cfff70ac2b1 (patch)
treeb94d7aae7b0cbbde2617e3fb1fc64e12a151c98f /mesonbuild/interpreter.py
parentff4b32741acb36e8b2cf3d83fe0d513ad5753e59 (diff)
downloadmeson-1ff0fccc295f5f656f4bf8524bd58cfff70ac2b1.zip
meson-1ff0fccc295f5f656f4bf8524bd58cfff70ac2b1.tar.gz
meson-1ff0fccc295f5f656f4bf8524bd58cfff70ac2b1.tar.bz2
Fix typo in dependency invalid arguments error
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 5d3c095..cd5db62 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -1835,8 +1835,8 @@ class Interpreter(InterpreterBase):
self.validate_arguments(args, 1, [str])
name = args[0]
if '<' in name or '>' in name or '=' in name:
- raise InvalidArguments('''Characters <, > and = are forbidden in target names. To specify version
-requirements use the version keyword argument instead.''')
+ raise InvalidArguments('Characters <, > and = are forbidden in dependency names. To specify'
+ 'version\n requirements use the \'version\' keyword argument instead.')
identifier = dependencies.get_dep_identifier(name, kwargs)
# Check if we want this as a cross-dep or a native-dep
# FIXME: Not all dependencies support such a distinction right now,