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