Document replace domains

This commit is contained in:
Hutzdog 2023-03-20 16:35:20 -07:00
parent 8dae20da39
commit 80ede8b182
2 changed files with 10 additions and 1 deletions

View File

@ -144,7 +144,7 @@ cap2site \- Convert a Gemini capsule to a HTML site
.IX Header "SYNOPSIS"
cap2site [flags] < \s-1INPUT\s0.gmi > \s-1OUTPUT\s0.html
.PP
.Vb 7
.Vb 8
\& Options:
\& \-help brief help message
\& \-hh full help message
@ -152,6 +152,7 @@ cap2site [flags] < \s-1INPUT\s0.gmi > \s-1OUTPUT\s0.html
\& \-(no)\-inline\-video include video in site
\& \-(no)\-inline\-image include images in site
\& \-standalone include data for headers
\& \-replace\-domain replace a Gemini domain with another (possibly non\-gemini) domain
.Ve
.SH "OPTIONS"
.IX Header "OPTIONS"
@ -164,3 +165,6 @@ Include the respective asset types inline
.IP "\fB\-(no)\-standalone\fR" 4
.IX Item "-(no)-standalone"
Include header and body tags
.IP "\fB\-replace\-domain old=new\fR" 4
.IX Item "-replace-domain old=new"
Replace all Gemini domains at path old with ones based on new

View File

@ -249,6 +249,7 @@ cap2site [flags] < INPUT.gmi > OUTPUT.html
-(no)-inline-video include video in site
-(no)-inline-image include images in site
-standalone include data for headers
-replace-domain replace a Gemini domain with another (possibly non-gemini) domain
=head1 OPTIONS
@ -266,6 +267,10 @@ Include the respective asset types inline
Include header and body tags
=item B<-replace-domain old=new>
Replace all Gemini domains at path old with ones based on new
=back
=cut