Man page rewording

This commit is contained in:
Solene Rapenne 2021-01-10 13:10:32 +01:00
parent f60ea88c8d
commit c2debd2d6c

11
vger.8
View file

@ -28,14 +28,13 @@ containing the new file location.
.Sh OPTIONS .Sh OPTIONS
.Bl -tag -width Ds .Bl -tag -width Ds
.It Op Fl l Ar lang .It Op Fl l Ar lang
Set the default lang in the return code to Set the lang in the return code to
.Ar lang . .Ar lang .
A list can be specified, i.e "-l en,fr" A list can be specified, i.e "-l en,fr" will send "lang=en,fr".
will send "lang=en,fr".
Default is no lang metadata. Default is no lang metadata.
.It Op Fl i .It Op Fl i
Enable auto index if no index.gmi is found in a directory. Enable auto index if no index.gmi is found in a directory.
The index is a file that will contain a link to every file within the current directory.
.It Op Fl v .It Op Fl v
Enable virtualhost support, the hostname in the query will be considered as a directory name. Enable virtualhost support, the hostname in the query will be considered as a directory name.
As example, for request gemini://hostname.example/file.gmi As example, for request gemini://hostname.example/file.gmi
@ -44,7 +43,9 @@ will read the file /var/gemini/hostname.example/file.gmi
.It Op Fl m Ar mimetype .It Op Fl m Ar mimetype
Use Use
.Ar mimetype .Ar mimetype
instead of the default "application/octet-stream" as MIME for files without or unrecognized extension. instead of the "application/octet-stream" as content type for which
.Nm
is unable to find the type.
.It Op Fl d Ar path .It Op Fl d Ar path
Use Use
.Ar path .Ar path