From 8d2fbf80841a6b2136ea168fd3b6855a08f86a60 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 21 May 2017 22:02:37 +0300 Subject: [PATCH] Clarify multiple uses of -D. Closes #1836. --- mesonbuild/mesonmain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index 4fecc5847..70f4027ca 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -64,8 +64,8 @@ add_builtin_argument('errorlogs', action='store_false') parser.add_argument('--cross-file', default=None, help='File describing cross compilation environment.') -parser.add_argument('-D', action='append', dest='projectoptions', default=[], - help='Set project options.') +parser.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.') parser.add_argument('-v', '--version', action='version', version=coredata.version) # See the mesonlib.WrapMode enum for documentation