Xavier Claessens
37067a53c4
Use a single ArgumentParser for all subcommands
...
This has the adventage that "meson --help" shows a list of all commands,
making them discoverable. This also reduce the manual parsing of
arguments to the strict minimum needed for backward compatibility.
2018-10-04 09:40:21 -04:00
Jussi Pakkanen
9b2e533d87
Always build parser objects anew to avoid leaking old data.
2018-03-27 00:39:45 +03:00
Jukka Laurila
52c50da6c7
Refactor: Add log.error and log.exception to reduce code duplication.
2018-03-10 18:04:52 +02:00
Eric Engestrom
5f7f5cdb05
Print correct command in help message
...
Taking mconf for instance:
before:
$ meson configure --help
usage: meson [-h] [-D SETS] [--clearcache] [directory [directory ...]]
after:
$ meson configure --help
usage: meson configure [-h] [-D SETS] [--clearcache] [directory [directory ...]]
2017-11-09 21:12:34 +02:00
Luke Shumaker
e7d5b9dd8e
fix file permissions on a couple of files
2017-09-20 14:02:57 -04:00
Jussi Pakkanen
0dd9ace5cc
Turned rewriter into an internal module.
2017-08-02 22:00:09 +03:00