diff options
| author | FeRD (Frank Dana) <ferdnyc@gmail.com> | 2025-03-19 10:35:06 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-03-20 16:29:18 -0400 |
| commit | 992ec923a7b81845d0c2a0fe9374fd9cf8d054fa (patch) | |
| tree | 9758a5ba5a90aad05bb6cab256ea941997a2e4cd | |
| parent | e5286aefd962df25dee58556c4ce6dafa4bfd1c3 (diff) | |
| download | meson-992ec923a7b81845d0c2a0fe9374fd9cf8d054fa.tar.gz | |
man page: Running without 'setup' is deprecated
Move the mention of the (deprecated) default command mode
down near the end of the page, instead of presenting it right
up front.
| -rw-r--r-- | man/meson.1 | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/man/meson.1 b/man/meson.1 index deb320dbc..af8233cde 100644 --- a/man/meson.1 +++ b/man/meson.1 @@ -40,19 +40,6 @@ your build dir. After that you just run the build command. Meson will autodetect changes in your source tree and regenerate all files needed to build the project. -The setup command is the default operation. If no actual command is -specified, Meson will assume you meant to do a setup. That means -that you can set up a build directory without the setup command -like this: - -.B meson [ -.I options -.B ] [ -.I build directory -.B ] [ -.I source directory -.B ] - .SS "options:" .TP \fB\-\-version\fR @@ -658,6 +645,13 @@ try to read configuration from .editorconfig \fB-o OUTPUT, --output OUTPUT\fR output file (implies having exactly one input) +.SH When no command is specified + +If you run Meson without a subcommand, it will assume you meant +\fBmeson setup\fR. However, this syntax is deprecated, and Meson +will print a warning message if it is used. You should always use +\fBmeson setup\fR explicitly, instead of relying on the default. + .SH EXIT STATUS .TP |
