Clarify multiple uses of -D. Closes #1836.

pull/1868/head
Jussi Pakkanen 8 years ago
parent c9c3070f53
commit 8d2fbf8084
  1. 4
      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

Loading…
Cancel
Save