aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-04-26 21:49:00 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2018-04-26 22:46:40 -0400
commitcb5ad2f2114519e4009f7ee6fcab3ad40d971de2 (patch)
treecf2bb943b27e0f6b32e78430b24b30bde70d3dd2 /mesonbuild/mesonmain.py
parent3ad45ef94e3372b81b284d7edd21123376f63575 (diff)
downloadmeson-cb5ad2f2114519e4009f7ee6fcab3ad40d971de2.zip
meson-cb5ad2f2114519e4009f7ee6fcab3ad40d971de2.tar.gz
meson-cb5ad2f2114519e4009f7ee6fcab3ad40d971de2.tar.bz2
Remove duplicated definition of -D cmdline arg
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r--mesonbuild/mesonmain.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index 613e953..cae59b4 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -30,8 +30,6 @@ def create_parser():
coredata.register_builtin_arguments(p)
p.add_argument('--cross-file', default=None,
help='File describing cross compilation environment.')
- p.add_argument('-D', action='append', dest='projectoptions', default=[], metavar="option",
- help='Set the value of an option, can be used several times to set multiple options.')
p.add_argument('-v', '--version', action='version',
version=coredata.version)
# See the mesonlib.WrapMode enum for documentation