diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-04-05 09:39:41 +0530 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-04-08 23:44:31 +0300 |
| commit | 04ed3810edea81ae9197da4f52851eb8ca1565cf (patch) | |
| tree | c1a320c39d5156b38fd8942e64af067760ad7500 | |
| parent | 0d27be0ba5f99997153cf324ec68779267b84417 (diff) | |
| download | meson-04ed3810edea81ae9197da4f52851eb8ca1565cf.tar.gz | |
mcompile: Use the current dir if unspecified
With this running `meson compile` inside the builddir actually works,
and you don't have to do `meson compile -C .`
Clearly this was the intent since the option already has `default='.'`
| -rw-r--r-- | mesonbuild/mcompile.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py index 372c853a1..7829ffc19 100644 --- a/mesonbuild/mcompile.py +++ b/mesonbuild/mcompile.py @@ -54,7 +54,6 @@ def add_arguments(parser: 'argparse.ArgumentParser') -> None: action='store', dest='builddir', type=pathlib.Path, - required=True, default='.', help='The directory containing build files to be built.' ) |
