summaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-07-15 09:42:38 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2017-08-02 22:01:13 +0300
commit59a35c4c53bb5f3b6b787d12767d8128e8d0fa3b (patch)
treec78094bb98624b700369f0018a4b0d557bb802dc /meson.py
parentfa278f351fe3d6924b4d1961f77b5b4a36e133f8 (diff)
downloadmeson-59a35c4c53bb5f3b6b787d12767d8128e8d0fa3b.tar.gz
Print deprecation warnings on old style commands.
Diffstat (limited to 'meson.py')
-rwxr-xr-xmeson.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.py b/meson.py
index ca29d1876..64dcc365f 100755
--- a/meson.py
+++ b/meson.py
@@ -31,7 +31,7 @@ def main():
mlog.warning('Please switch to a UTF-8 locale for your platform.')
# Always resolve the command path so Ninja can find it for regen, tests, etc.
launcher = os.path.realpath(sys.argv[0])
- return mesonmain.run(launcher, sys.argv[1:])
+ return mesonmain.run(sys.argv[1:], launcher)
if __name__ == '__main__':
sys.exit(main())