aboutsummaryrefslogtreecommitdiff
path: root/gsp.1
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-10 19:47:52 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-10 19:47:52 +0200
commit7eac3c24255a86257d42ab38668cbd88dc96f55b (patch)
tree97d9da5e63c68949e7fb122c8c04c1a7845e04df /gsp.1
parent3521bff39c39ffc35c6b0cb65cac51591d51c8b9 (diff)
Add the ‘-x’ command-line option
Diffstat (limited to 'gsp.1')
-rw-r--r--gsp.111
1 files changed, 10 insertions, 1 deletions
diff --git a/gsp.1 b/gsp.1
index 761dd51..82bb9f4 100644
--- a/gsp.1
+++ b/gsp.1
@@ -6,6 +6,7 @@
.Nd better syntax for HTML and XML
.Sh SYNOPSIS
.Nm
+.Op Fl x
.Op Ar
.Sh DESCRIPTION
.Nm
@@ -23,9 +24,17 @@ form of
.Ql <tag>
as opposed to XML where they take the form of
.Ql <tag/> .
-If the document begins with an XML document type, then
+If the document begins with an XML document type or the
+.Fl x
+flag is specified, then
.Nm
will transpile to XML.
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl x
+Transpile to XML instead of HTML.
+.El
.Sh EXIT STATUS
.Ex -std gsp
.Sh EXAMPLES