diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 14:46:15 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 14:46:15 -0400 |
| commit | d8a48f64111f542f3afeb5d6e47ff092f9278d9f (patch) | |
| tree | 07c364503025bb2a26edd7b26f1ba9e8d25340f6 /man | |
| parent | 12345a85d9c7d7a56ddf323247a4bdf347021b73 (diff) | |
| parent | 73246764f88f6f652316ee0c138a990d836698a7 (diff) | |
Merge branch 'main' into optional-list-indexing
Diffstat (limited to 'man')
| -rw-r--r-- | man/man1/tomo.1 | 60 |
1 files changed, 39 insertions, 21 deletions
diff --git a/man/man1/tomo.1 b/man/man1/tomo.1 index ae2b08d2..5134d963 100644 --- a/man/man1/tomo.1 +++ b/man/man1/tomo.1 @@ -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/lib/tomo_vX.Y/\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]). |
