mirror of
https://github.com/mesonbuild/meson.git
synced 2026-08-13 17:07:04 +00:00
docs: fix confusing repetition
The end of the paragraph indicates that the options which support --foo will be listed in the help text. The beginning of the paragraph seems to suggest the same thing, except it doesn't distinguish between -Dfoo and --foo style options. The first mention is redundant and feels like the wrong part of the paragraph to mention it anyway.
This commit is contained in:
@@ -10,12 +10,10 @@ universal options, base options, compiler options.
|
||||
|
||||
## Universal options
|
||||
|
||||
A list of these options can be found by running `meson --help`. All
|
||||
these can be set by passing `-Doption=value` to `meson` (aka `meson
|
||||
setup`), or by setting them inside `default_options` of [[project]] in
|
||||
your `meson.build`. Some options can also be set by `--option=value`,
|
||||
or `--option value`--- a list is shown by running `meson setup
|
||||
--help`.
|
||||
All these can be set by passing `-Doption=value` to `meson` (aka `meson
|
||||
setup`), or by setting them inside `default_options` of [[project]] in your
|
||||
`meson.build`. Some options can also be set by `--option=value`, or `--option
|
||||
value` -- a list is shown by running `meson setup --help`.
|
||||
|
||||
For legacy reasons `--warnlevel` is the cli argument for the
|
||||
`warning_level` option.
|
||||
|
||||
Reference in New Issue
Block a user