aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2017-11-09 15:35:46 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2017-11-09 21:12:34 +0200
commit5f7f5cdb05172c26b71fc01133bda0dc93d2a226 (patch)
treef855186b2c5aa662d211402a54c3046c3f95fb62 /mesonbuild/mesonmain.py
parent74967bd1d1c775a952ad2a27e3d68a96c9e05c5b (diff)
downloadmeson-5f7f5cdb05172c26b71fc01133bda0dc93d2a226.zip
meson-5f7f5cdb05172c26b71fc01133bda0dc93d2a226.tar.gz
meson-5f7f5cdb05172c26b71fc01133bda0dc93d2a226.tar.bz2
Print correct command in help message
Taking mconf for instance: before: $ meson configure --help usage: meson [-h] [-D SETS] [--clearcache] [directory [directory ...]] after: $ meson configure --help usage: meson configure [-h] [-D SETS] [--clearcache] [directory [directory ...]]
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r--mesonbuild/mesonmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index 8ecfacd..a1e7c1c 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -24,7 +24,7 @@ from .mesonlib import MesonException
from .wrap import WrapMode, wraptool
-parser = argparse.ArgumentParser()
+parser = argparse.ArgumentParser(prog='meson')
default_warning = '1'