чување 42ef2d1df0c14cd0d37c26429cee6cd7f61eb9d6
родитељ a2b0a8597fe6c742732aafba7a19e7c03126ae43
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Fri, 26 Mar 2021 13:05:25 +0100
Lapsus calami
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 2, додавања: 5(+), брисања: 5(-)
diff --git a/slw2gmi.1.in b/slw2gmi.1.in
@@ -29,7 +29,7 @@ slw2gmi \- slweb to Gemini converter
.
.SY slw2gmi
.OP "\-d \fR|\fP \-\-basedir" directory
-.OP "\-p \fR|\fP \-\-global-link-prefix" directory
+.OP "\-p \fR|\fP \-\-global-link-prefix" URL
.RI [ filename ]
.YS
.
@@ -69,12 +69,12 @@ command). Defaults to the current directory.
Print this usage information screen.
.
.TP
-.BI \-p " directory"
+.BI \-p " URL"
.TQ
-.BI \-\-global-link-prefix " directory"
+.BI \-\-global-link-prefix " URL"
.br
Set
-.I directory
+.I URL
as a global prefix for relative links. For example, this can be useful when
generating Gemini code which needs to keep relative links pointing to web URLs.
.
diff --git a/slw2gmi.c b/slw2gmi.c
@@ -97,7 +97,7 @@ int
usage()
{
printf("Usage: %s [-b|--body-only] [-d|--basedir <dir>]"
- " [-p|--global-link-prefix <dir>] [-h|--help]"
+ " [-p|--global-link-prefix <URL>] [-h|--help]"
" [-v|--version] [filename]\n", PROGRAMNAME);
return 0;
}