From ea4b9c590e42e4c42b358f75b7eb6f0b15241a1f Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen <jpakkane@gmail.com> Date: Wed, 18 Mar 2015 18:06:10 +0200 Subject: [PATCH] Fix mesonconf when running in the build directory without a path argument. --- mesonconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonconf.py b/mesonconf.py index 2041841ab..e84c9e50a 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):