aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-31 15:41:49 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-31 15:41:49 -0400
commit30a5c322155c544c80af7b92cad4d2e6b5f7ead8 (patch)
tree5d711ad27aeab1776bbda891ec98f4a7e7edee4b /man
parent8e2c7a95c69740c42fea0e341d4d5608cf037f53 (diff)
Update manpage
Diffstat (limited to 'man')
-rw-r--r--man/man1/tomo.162
1 files changed, 40 insertions, 22 deletions
diff --git a/man/man1/tomo.1 b/man/man1/tomo.1
index c3330175..60760d24 100644
--- a/man/man1/tomo.1
+++ b/man/man1/tomo.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pandoc 3.1.12.1
+.\" Automatically generated by Pandoc 3.1.13
.\"
.TH "TOMO" "1" "June 11, 2024" "" ""
.SH NAME
@@ -29,45 +29,63 @@ It compiles by first outputting C code, which is then compiled using a C
compiler of your choice.
.SH OPTIONS
.TP
-\f[B]\-h\f[R], \f[B]\-\-help\f[R]
-Print the usage and exit.
+\f[B]\-\-changelog\f[R]
+Print the compiler change log and exit.
.TP
-\f[B]\-t\f[R], \f[B]\-\-transpile\f[R]
-Transpile the input files to C code without compiling them.
+\f[B]\-\-compile\-exe\f[R], \f[B]\-e\f[R]
+Compile the input file to an executable.
.TP
-\f[B]\-c\f[R], \f[B]\-\-compile\-obj\f[R]
+\f[B]\-\-compile\-obj\f[R], \f[B]\-c\f[R]
Compile the input files to static objects, rather than running them.
.TP
-\f[B]\-e\f[R], \f[B]\-\-compile\-exe\f[R]
-Compile the input file to an executable.
-.TP
-\f[B]\-L\f[R], \f[B]\-\-library\f[R]
-Compile the input files to a shared library file and header.
+\f[B]\-\-help\f[R], \f[B]\-h\f[R]
+Print the usage and exit.
.TP
-\f[B]\-I\f[R], \f[B]\-\-install\f[R]
+\f[B]\-\-install\f[R], \f[B]\-I\f[R]
Install the compiled executable or library.
.TP
-\f[B]\-C\f[R] \f[I]\f[R], \f[B]\-\-show\-codegen\f[R] \f[I]\f[R]
+\f[B]\-\-library\f[R], \f[B]\-L\f[R]
+Compile the input files to a shared library file and header.
+.TP
+\f[B]\-\-show\-codegen\f[R] \f[I]\f[R], \f[B]\-C\f[R] \f[I]\f[R]
Set a program (e.g.\ \f[B]cat\f[R] or \f[B]bat\f[R]) to display the
generated code
.TP
-\f[B]\-O\f[R] \f[B]level\f[R], \f[B]\-\-optimization\f[R] \f[B]level\f[R]
-Set the optimization level.
+\f[B]\-\-force\-rebuild\f[R], \f[B]\-f\f[R]
+Force rebuilding/recompiling.
.TP
-\f[B]\-v\f[R], \f[B]\-\-verbose\f[R]
-Print extra verbose output.
+\f[B]\-\-format\f[R]
+Autoformat a file and print it to standard output.
.TP
-\f[B]\-\-version\f[R]
-Print the compiler version and exit.
+\f[B]\-\-format\-inplace\f[R]
+Autoformat a file in\-place.
.TP
-\f[B]\-\-changelog\f[R]
-Print the compiler change log and exit.
+\f[B]\-\-optimization\f[R] \f[B]level\f[R], \f[B]\-O\f[R] \f[B]level\f[R]
+Set the optimization level.
.TP
\f[B]\-\-prefix\f[R]
Print the Tomo installation prefix and exit.
.TP
-\f[B]\-r\f[R], \f[B]\-\-run\f[R]
+\f[B]\-\-quiet\f[R], \f[B]\-q\f[R]
+Run in quiet mode.
+.TP
+\f[B]\-\-run\f[R], \f[B]\-r\f[R]
Run an installed tomo program from
\f[B]\[ti]/.local/share/tomo_vX.Y/installed\f[R].
+.TP
+\f[B]\-\-source\-mapping=\f[R], \f[B]\-m=\f[R] \f[B]<yes|no>\f[R]
+Toggle whether source mapping should be enabled or disabled.
+.TP
+\f[B]\-\-transpile\f[R], \f[B]\-t\f[R]
+Transpile the input files to C code without compiling them.
+.TP
+\f[B]\-\-uninstall\f[R], \f[B]\-u\f[R]
+Uninstall a compiled executable or library.
+.TP
+\f[B]\-\-verbose\f[R], \f[B]\-v\f[R]
+Print extra verbose output.
+.TP
+\f[B]\-\-version\f[R]
+Print the compiler version and exit.
.SH AUTHORS
Bruce Hill (\f[I]bruce\[at]bruce\-hill.com\f[R]).