aboutsummaryrefslogtreecommitdiff
path: root/mesonintrospect.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonintrospect.py')
-rwxr-xr-xmesonintrospect.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/mesonintrospect.py b/mesonintrospect.py
index 4d20548..3a21c5e 100755
--- a/mesonintrospect.py
+++ b/mesonintrospect.py
@@ -14,7 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from mesonbuild import mintro
+from mesonbuild import mesonmain, mlog
import sys
-sys.exit(mintro.run(sys.argv[1:]))
+if __name__ == '__main__':
+ mlog.warning('This executable is deprecated. Use "meson introspect" instead.')
+ sys.exit(mesonmain.run(['introspect'] + sys.argv[1:]))