aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mcompile.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-08-31 13:15:58 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2020-08-31 22:59:57 +0300
commitf4bac06bd9e96f0d662396e38777bad3469420f4 (patch)
treea333af171584a270447b397b72381d3efe443a1f /mesonbuild/mcompile.py
parent6f3c8667ed91b9c62def2b2fed45a985a8de1890 (diff)
downloadmeson-f4bac06bd9e96f0d662396e38777bad3469420f4.zip
meson-f4bac06bd9e96f0d662396e38777bad3469420f4.tar.gz
meson-f4bac06bd9e96f0d662396e38777bad3469420f4.tar.bz2
mcompile: Also support -v for verbose
This matches `meson test`, and there's really no other meaning that could be attributed to this, since you would call `meson` to get the version, not the `compile` sub-command.
Diffstat (limited to 'mesonbuild/mcompile.py')
-rw-r--r--mesonbuild/mcompile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py
index 5352143..3199f59 100644
--- a/mesonbuild/mcompile.py
+++ b/mesonbuild/mcompile.py
@@ -263,7 +263,7 @@ def add_arguments(parser: 'argparse.ArgumentParser') -> None:
help='The system load average to try to maintain (if supported).'
)
parser.add_argument(
- '--verbose',
+ '-v', '--verbose',
action='store_true',
help='Show more verbose output.'
)