aboutsummaryrefslogtreecommitdiff
path: root/docs/tomo.1.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-06 14:46:15 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-06 14:46:15 -0400
commitd8a48f64111f542f3afeb5d6e47ff092f9278d9f (patch)
tree07c364503025bb2a26edd7b26f1ba9e8d25340f6 /docs/tomo.1.md
parent12345a85d9c7d7a56ddf323247a4bdf347021b73 (diff)
parent73246764f88f6f652316ee0c138a990d836698a7 (diff)
Merge branch 'main' into optional-list-indexing
Diffstat (limited to 'docs/tomo.1.md')
-rw-r--r--docs/tomo.1.md60
1 files changed, 39 insertions, 21 deletions
diff --git a/docs/tomo.1.md b/docs/tomo.1.md
index feed98af..79c94ddd 100644
--- a/docs/tomo.1.md
+++ b/docs/tomo.1.md
@@ -32,41 +32,59 @@ C code, which is then compiled using a C compiler of your choice.
# OPTIONS
-`-h`, `--help`
-: Print the usage and exit.
+`--changelog`
+: Print the compiler change log and exit.
-`-t`, `--transpile`
-: Transpile the input files to C code without compiling them.
+`--compile-exe`, `-e`
+: Compile the input file to an executable.
-`-c`, `--compile-obj`
+`--compile-obj`, `-c`
: Compile the input files to static objects, rather than running them.
-`-e`, `--compile-exe`
-: Compile the input file to an executable.
-
-`-L`, `--library`
-: Compile the input files to a shared library file and header.
+`--help`, `-h`
+: Print the usage and exit.
-`-I`, `--install`
+`--install`, `-I`
: Install the compiled executable or library.
-`-C` *<program>*, `--show-codegen` *<program>*
+`--library`, `-L`
+: Compile the input files to a shared library file and header.
+
+`--show-codegen` *<program>*, `-C` *<program>*
: Set a program (e.g. `cat` or `bat`) to display the generated code
-`-O` **level**, `--optimization` **level**
-: Set the optimization level.
+`--force-rebuild`, `-f`
+: Force rebuilding/recompiling.
-`-v`, `--verbose`
-: Print extra verbose output.
+`--format`
+: Autoformat a file and print it to standard output.
-`--version`
-: Print the compiler version and exit.
+`--format-inplace`
+: Autoformat a file in-place.
-`--changelog`
-: Print the compiler change log and exit.
+`--optimization` **level**, `-O` **level**
+: Set the optimization level.
`--prefix`
: Print the Tomo installation prefix and exit.
-`-r`, `--run`
+`--quiet`, `-q`
+: Run in quiet mode.
+
+`--run`, `-r`
: Run an installed tomo program from `~/.local/lib/tomo_vX.Y/`.
+
+`--source-mapping=`, `-m=` **<yes|no>**
+: Toggle whether source mapping should be enabled or disabled.
+
+`--transpile`, `-t`
+: Transpile the input files to C code without compiling them.
+
+`--uninstall`, `-u`
+: Uninstall a compiled executable or library.
+
+`--verbose`, `-v`
+: Print extra verbose output.
+
+`--version`
+: Print the compiler version and exit.