summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2018-04-23 10:48:42 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-04-23 10:48:42 (GMT)
commit822cc3f646945d95ef00b96e881aa67f97b1d7a2 (patch) (unidiff)
tree600ce3b6d3d3511a7f148328a5920e9b3c9d56be
parent56edbac842e7a8cd256bf099715265a793c92d55 (diff)
downloadfileserv-822cc3f646945d95ef00b96e881aa67f97b1d7a2.tar.gz
fileserv-822cc3f646945d95ef00b96e881aa67f97b1d7a2.tar.bz2
Fix manpage
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/fileserv.88
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileserv.8 b/src/fileserv.8
index 0aecd3c..500e153 100644
--- a/src/fileserv.8
+++ b/src/fileserv.8
@@ -10,13 +10,13 @@
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of 10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details. 12.\" GNU General Public License for more details.
13.\" 13.\"
14.\" You should have received a copy of the GNU General Public License 14.\" You should have received a copy of the GNU General Public License
15.\" along with fileserv. If not, see <http://www.gnu.org/licenses/>. 15.\" along with fileserv. If not, see <http://www.gnu.org/licenses/>.
16.TH FILESERV 8 "April 21, 2018" "FILESERV" "User Commands" 16.TH FILESERV 8 "April 23, 2018" "FILESERV" "User Commands"
17.SH NAME 17.SH NAME
18fileserv \- simple http server for static files 18fileserv \- simple http server for static files
19.SH SYNOPSIS 19.SH SYNOPSIS
20\fBfileserv\fR\ 20\fBfileserv\fR\
21 [\fB\-fhsv\fR]\ 21 [\fB\-fhsv\fR]\
22 [\fB\-a\fR [\fIIP\fR][\fB:\fIPORT\fR]]\ 22 [\fB\-a\fR [\fIIP\fR][\fB:\fIPORT\fR]]\
@@ -323,13 +323,13 @@ name.
323Defines icon to use for files of given MIME types. Each \fITYPE\fR is 323Defines icon to use for files of given MIME types. Each \fITYPE\fR is
324treated as globbing pattern (see \fBglob\fR(7)). \fIURL\fR is the 324treated as globbing pattern (see \fBglob\fR(7)). \fIURL\fR is the
325URL of the image file to be displayed for matching files, and \fITEXT\fR 325URL of the image file to be displayed for matching files, and \fITEXT\fR
326is the alternative text. 326is the alternative text.
327.TP 327.TP
328\fBname\-icon\fR \fIURL\fR [\fBalt=\fITEXT\fR] \fISUFFIX\fR [\fISUFFIX\fR...] 328\fBname\-icon\fR \fIURL\fR [\fBalt=\fITEXT\fR] \fISUFFIX\fR [\fISUFFIX\fR...]
329Defines icon for to use file names that end in one of the \fISUFFIX\Res. See 329Defines icon for to use file names that end in one of the \fISUFFIX\fRes. See
330\fBmime\-icon\fR, for the description of \fIURL\fR and \fITYPE\fR. 330\fBmime\-icon\fR, for the description of \fIURL\fR and \fITYPE\fR.
331.TP 331.TP
332\fBtype\-icon\fR \fIURL\fR [\fBalt=\fITEXT\fR] \fITYPE\fR [\fITYPE\fR...] 332\fBtype\-icon\fR \fIURL\fR [\fBalt=\fITEXT\fR] \fITYPE\fR [\fITYPE\fR...]
333Defines icon to use for file of the given type. Available \fITYPE\fRs 333Defines icon to use for file of the given type. Available \fITYPE\fRs
334are: \fBDIRECTORY\fR, for a directory, \fBFILE\fR, for a regular file, 334are: \fBDIRECTORY\fR, for a directory, \fBFILE\fR, for a regular file,
335and \fBBLANK\fR, for a blank line. 335and \fBBLANK\fR, for a blank line.
@@ -363,13 +363,13 @@ Starts main loop. The syntax is:
363.EE 363.EE
364 364
365For each file found in the directory being listed, the loop construct 365For each file found in the directory being listed, the loop construct
366produces expansion of \fITEXT\fR. 366produces expansion of \fITEXT\fR.
367.PP 367.PP
368The \fIexpansions\fR performed on strings in template constructs are: 368The \fIexpansions\fR performed on strings in template constructs are:
369.Ss Variable expansion 369.SS Variable expansion
370Variable expansion replaces each occurrence of 370Variable expansion replaces each occurrence of
371.BI $ NAME 371.BI $ NAME
372or 372or
373.BI ${ NAME } 373.BI ${ NAME }
374with the value of the templave variable \fINAME\fR. 374with the value of the templave variable \fINAME\fR.
375.PP 375.PP
@@ -492,13 +492,13 @@ This function is useful to create listing ordering menu, e.g.:
492 <th> 492 <th>
493 <a href="?C=M&amp;O={% $(sortorder M) %}">Last modified</a> 493 <a href="?C=M&amp;O={% $(sortorder M) %}">Last modified</a>
494 </th> 494 </th>
495 <th> 495 <th>
496 <a href="?C=S&amp;O={% $(sortorder S) %}">Size</a> 496 <a href="?C=S&amp;O={% $(sortorder S) %}">Size</a>
497 </th> 497 </th>
498.EE9 498.EE
499.SH COPYRIGHT 499.SH COPYRIGHT
500Copyright \(co 2017, 2018 Sergey Poznyakoff 500Copyright \(co 2017, 2018 Sergey Poznyakoff
501.br 501.br
502.na 502.na
503License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 503License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
504.br 504.br

Return to:

Send suggestions and report system problems to the System administrator.