diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-18 18:06:10 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-18 18:06:10 +0200 |
commit | ea4b9c590e42e4c42b358f75b7eb6f0b15241a1f (patch) | |
tree | 77b896a7d66791b49c36d4425efd1698380025b2 | |
parent | bae29b7f7c69401742e9641848ca309f79b097c6 (diff) | |
download | meson-ea4b9c590e42e4c42b358f75b7eb6f0b15241a1f.zip meson-ea4b9c590e42e4c42b358f75b7eb6f0b15241a1f.tar.gz meson-ea4b9c590e42e4c42b358f75b7eb6f0b15241a1f.tar.bz2 |
Fix mesonconf when running in the build directory without a path argument.
-rwxr-xr-x | mesonconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonconf.py b/mesonconf.py index 2041841..e84c9e5 100755 --- a/mesonconf.py +++ b/mesonconf.py @@ -24,7 +24,7 @@ parser = argparse.ArgumentParser() parser.add_argument('-D', action='append', default=[], dest='sets', help='Set an option to the given value.') -parser.add_argument('directory', nargs='+') +parser.add_argument('directory', nargs='*') class ConfException(Exception): def __init__(self, *args, **kwargs): |