From 59a35c4c53bb5f3b6b787d12767d8128e8d0fa3b Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 15 Jul 2017 09:42:38 -0400 Subject: Print deprecation warnings on old style commands. --- meson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.py') diff --git a/meson.py b/meson.py index ca29d18..64dcc36 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()) -- cgit v1.1