diff options
author | John Wiele <jwiele@redhat.com> | 2024-06-11 11:36:22 -0400 |
---|---|---|
committer | John Wiele <jwiele@redhat.com> | 2024-06-11 11:36:22 -0400 |
commit | 1b36bf3f3c9f9f6f4fda84c072c6effa28c5e4f4 (patch) | |
tree | a3605520eb7a6a259236d79b84c280763f6e78b4 | |
parent | fd6a6e8b90b33e358fb3facbeb20378cb6032a08 (diff) | |
download | meson-1b36bf3f3c9f9f6f4fda84c072c6effa28c5e4f4.zip meson-1b36bf3f3c9f9f6f4fda84c072c6effa28c5e4f4.tar.gz meson-1b36bf3f3c9f9f6f4fda84c072c6effa28c5e4f4.tar.bz2 |
Add help for meson format to the man page.
The added help text was derived from the output of the meson help
command much like the markdown online help is derived.
-rw-r--r-- | man/meson.1 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/man/meson.1 b/man/meson.1 index 885eeb3..10a5eb9 100644 --- a/man/meson.1 +++ b/man/meson.1 @@ -608,6 +608,53 @@ Define cpu family for cross compilation. \fB\-\-endian {big,little}\fR Define endianness for cross compilation. +.SH The format command + +.B meson format +formats a meson source file. + +.B meson format [ +.I options +.B ] [ +.I sources... +.B ] + +.SS "positional arguments:" + +.TP +\fBsources...\fR +meson source files + +.SS "options:" + +.TP +\fB-h, --help\fR +show this help message and exit + +.TP +\fB-q, --check-only\fR +exit with 1 if files would be modified by meson format + +.TP +\fB-i, --inplace\fR +format files in-place + +.TP +\fB-r, --recursive\fR +recurse subdirs (requires --check-only or --inplace option) + +.TP +\fB-c meson.format, --configuration meson.format\fR +read configuration from meson.format + +.TP +\fB-e, --editor-config\fR +try to read configuration from .editorconfig + +.TP +\fB-o OUTPUT, --output OUTPUT\fR +output file (implies having exactly one input) + .SH EXIT STATUS .TP |