summaryrefslogtreecommitdiff
path: root/man/meson.1
diff options
context:
space:
mode:
authorJohn Wiele <jwiele@redhat.com>2024-05-29 20:11:24 -0400
committerJohn Wiele <jwiele@redhat.com>2024-06-06 09:14:55 -0400
commitcaa32abf45146941a80ce99bc97fb35ce7c59bfd (patch)
tree2b96a25d9eb355939b42e77219df6fd7851f2419 /man/meson.1
parent559341bb2fec4c1b9a08993f4cb4165c03cfa08c (diff)
downloadmeson-caa32abf45146941a80ce99bc97fb35ce7c59bfd.tar.gz
Add help for meson rewrite 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.
Diffstat (limited to 'man/meson.1')
-rw-r--r--man/meson.147
1 files changed, 47 insertions, 0 deletions
diff --git a/man/meson.1 b/man/meson.1
index f7a342b33..37e329952 100644
--- a/man/meson.1
+++ b/man/meson.1
@@ -406,6 +406,53 @@ Remove all wrap-based subproject artifacts
\fBpackagefiles\fR
Manage the packagefiles overlay
+.SH The rewrite command
+
+.B meson rewrite
+modifies the project definition.
+
+.B meson rewrite [
+.I options
+.B ] [
+.I command
+.B ]
+
+.SS "options:"
+
+.TP
+\fB\-h, \-\-help\fR
+show this help message and exit
+
+.TP
+\fB\-s SRCDIR, \-\-sourcedir SRCDIR\fR
+Path to source directory.
+
+.TP
+\fB\-V, \-\-verbose\fR
+Enable verbose output
+
+.TP
+\fB\-S, \-\-skip\-errors\fR
+Skip errors instead of aborting
+
+.SS "commands:"
+
+.TP
+\fBtarget (tgt)\fR
+Modify a target
+
+.TP
+\fBkwargs\fR
+Modify keyword arguments
+
+.TP
+\fBdefault-options (def)\fR
+Modify the project default options
+
+.TP
+\fBcommand (cmd)\fR
+Execute a JSON array of commands
+
.SH EXIT STATUS
.TP