From 5e445fd747da7b72e4ebc718aeefc108cc8ac7f7 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 22 Jun 2022 17:43:03 -0400 Subject: [PATCH] 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. --- docs/markdown/Builtin-options.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md index ae0cb0d58..844ebde7a 100644 --- a/docs/markdown/Builtin-options.md +++ b/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.