diff options
| author | jpakkane <jpakkane@gmail.com> | 2015-06-19 13:10:07 +0300 |
|---|---|---|
| committer | jpakkane <jpakkane@gmail.com> | 2015-06-19 13:10:07 +0300 |
| commit | f15eb466fb5ab0713b1614bdc973d242bdb4b4ad (patch) | |
| tree | 906822ecdb2b7b441f8e5268329046b0ee3e1def /mesonconf.py | |
| parent | 74b0fad8f11455f79c142baf95fa0ebb8ce86c62 (diff) | |
| parent | bc865ab9436a7274a08f08cfa98d91340cfe419a (diff) | |
| download | meson-f15eb466fb5ab0713b1614bdc973d242bdb4b4ad.tar.gz | |
Merge pull request #162 from mesonbuild/lint_errors
Fix some bugs when linting code
Diffstat (limited to 'mesonconf.py')
| -rwxr-xr-x | mesonconf.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonconf.py b/mesonconf.py index ec6faef28..eeedc2b6d 100755 --- a/mesonconf.py +++ b/mesonconf.py @@ -198,8 +198,7 @@ class Conf: if __name__ == '__main__': options = parser.parse_args() - if len(options.directory) > 1: - print(args) + if len(options.directory) < 1: print('%s <build directory>' % sys.argv[0]) print('If you omit the build directory, the current directory is substituted.') sys.exit(1) |
