diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-11 20:25:05 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-14 00:20:00 +0200 |
commit | 24ae120868fa00f6b6866bcc80e8f3d13203fe89 (patch) | |
tree | 51430115538016e365139d7c0078d98ba7638dd8 /mesonintrospect.py | |
parent | 9ecb75670f1a0c3a79c19d057c848323f85639a7 (diff) | |
download | meson-24ae120868fa00f6b6866bcc80e8f3d13203fe89.zip meson-24ae120868fa00f6b6866bcc80e8f3d13203fe89.tar.gz meson-24ae120868fa00f6b6866bcc80e8f3d13203fe89.tar.bz2 |
Turn deprecated commands into errors.
Diffstat (limited to 'mesonintrospect.py')
-rwxr-xr-x | mesonintrospect.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mesonintrospect.py b/mesonintrospect.py index 5cc07bf..9ef1535 100755 --- a/mesonintrospect.py +++ b/mesonintrospect.py @@ -14,10 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from mesonbuild import mesonmain import sys if __name__ == '__main__': - print('Warning: This executable is deprecated. Use "meson introspect" instead.', - file=sys.stderr) - sys.exit(mesonmain.run(['introspect'] + sys.argv[1:])) + sys.exit('Error: This executable is no more. Use "meson introspect" instead.') |