From 7eac3c24255a86257d42ab38668cbd88dc96f55b Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 10 Sep 2023 19:47:52 +0200 Subject: Add the ‘-x’ command-line option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gsp.1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gsp.1') 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 as opposed to XML where they take the form of .Ql . -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 -- cgit v1.2.3