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.
pull/10535/head
Eli Schwartz 2 years ago
parent 4e43970752
commit 5e445fd747
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 10
      docs/markdown/Builtin-options.md

@ -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.

Loading…
Cancel
Save