Skip to content

Commit a937a96

Browse files
Update man page
1 parent 5133a33 commit a937a96

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

mtsc.1

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
2-
.TH MTSC "1" "March 2024" "MTSC 5.4.2" "User Commands"
2+
.TH MTSC "1" "June 2024" "MTSC 5.5.2" "User Commands"
33
.SH NAME
4-
MTSC \- manual page for MTSC 5.4.2
4+
MTSC \- manual page for MTSC 5.5.2
55
.SH DESCRIPTION
6-
MTSC 5.4.2
6+
MTSC 5.5.2
77
Trin Wasinger
88
A standalone TypeScript compiler with support for JSX, HTML script tags, preprocessing, and minification
99
.SS "USAGE:"
@@ -16,11 +16,12 @@ Prints help information
1616
.TP
1717
\fB\-H\fR, \fB\-\-html\fR
1818
Treat the input as an HTML file and transpile any script tags with the type attribute set to
19-
\&'text/typescript', 'application/typescript', 'tsmodule', or 'module/typescript'
19+
\&'text/typescript', 'application/typescript', 'tsmodule', or 'module/typescript' (Enabled by
20+
default for .html files)
2021
.TP
2122
\fB\-M\fR, \fB\-\-minify\fR
22-
Enables minification using Terser (both compression and mangling) of output code; except for
23-
HTML files, '.min' is prepend to the output file extension (Currently ignored if parsing HTML)
23+
Enables minification using Terser (both compression and mangling) of output code (Except for
24+
HTML files, '.min' is prepend to the output file extension)
2425
.TP
2526
\fB\-m\fR, \fB\-\-module\fR
2627
Treat the input as a modern ES module (Enabled by default for .mts files and HTML script tags
@@ -55,14 +56,15 @@ set as well) [default: null]
5556
.TP
5657
\fB\-n\fR, \fB\-\-name\fR <NAME>
5758
Sets the file name and extension when not available via the main arg (Such as
58-
reading from stdin or file descriptors)
59+
reading from stdin or file descriptors; this can be used by the preprocessor
60+
and to infer other options)
5961
.TP
6062
\fB\-o\fR, \fB\-\-out\fR <OUTPUT>
6163
Sets the output file to write transpiled code to instead of using the input
62-
file's name with the extension changed to .js or .html in the case of HTML
63-
files (When set to '\-' or set but blank, output is written to stdout; if set to
64-
a directory and an input file is provided, the output file will be written to
65-
the given directory with the extension changed to .js/.html)
64+
file's name with the extension updated (When set to '\-' or set but blank,
65+
output is written to stdout; if set to a directory and an input file is
66+
provided, the output file will be written to the given directory with the
67+
extension updated)
6668
.TP
6769
\fB\-t\fR, \fB\-\-target\fR <ES\-VERSION>
6870
Sets the JavaScript language and library version for compiled code [default:

0 commit comments

Comments
 (0)