diff --git a/cap2site.1 b/cap2site.1 index 5e08f78..7e5ba11 100644 --- a/cap2site.1 +++ b/cap2site.1 @@ -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 diff --git a/cap2site.pl b/cap2site.pl index 900d31b..6598449 100755 --- a/cap2site.pl +++ b/cap2site.pl @@ -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