diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-04-23 13:48:42 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-04-23 13:48:42 +0300 |
commit | 822cc3f646945d95ef00b96e881aa67f97b1d7a2 (patch) | |
tree | 600ce3b6d3d3511a7f148328a5920e9b3c9d56be | |
parent | 56edbac842e7a8cd256bf099715265a793c92d55 (diff) | |
download | fileserv-822cc3f646945d95ef00b96e881aa67f97b1d7a2.tar.gz fileserv-822cc3f646945d95ef00b96e881aa67f97b1d7a2.tar.bz2 |
Fix manpage
-rw-r--r-- | src/fileserv.8 | 8 |
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 |
18 | fileserv \- simple http server for static files | 18 | fileserv \- 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. | |||
323 | Defines icon to use for files of given MIME types. Each \fITYPE\fR is | 323 | Defines icon to use for files of given MIME types. Each \fITYPE\fR is |
324 | treated as globbing pattern (see \fBglob\fR(7)). \fIURL\fR is the | 324 | treated as globbing pattern (see \fBglob\fR(7)). \fIURL\fR is the |
325 | URL of the image file to be displayed for matching files, and \fITEXT\fR | 325 | URL of the image file to be displayed for matching files, and \fITEXT\fR |
326 | is the alternative text. | 326 | is 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...] |
329 | Defines icon for to use file names that end in one of the \fISUFFIX\Res. See | 329 | Defines 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...] |
333 | Defines icon to use for file of the given type. Available \fITYPE\fRs | 333 | Defines icon to use for file of the given type. Available \fITYPE\fRs |
334 | are: \fBDIRECTORY\fR, for a directory, \fBFILE\fR, for a regular file, | 334 | are: \fBDIRECTORY\fR, for a directory, \fBFILE\fR, for a regular file, |
335 | and \fBBLANK\fR, for a blank line. | 335 | and \fBBLANK\fR, for a blank line. |
@@ -363,13 +363,13 @@ Starts main loop. The syntax is: | |||
363 | .EE | 363 | .EE |
364 | 364 | ||
365 | For each file found in the directory being listed, the loop construct | 365 | For each file found in the directory being listed, the loop construct |
366 | produces expansion of \fITEXT\fR. | 366 | produces expansion of \fITEXT\fR. |
367 | .PP | 367 | .PP |
368 | The \fIexpansions\fR performed on strings in template constructs are: | 368 | The \fIexpansions\fR performed on strings in template constructs are: |
369 | .Ss Variable expansion | 369 | .SS Variable expansion |
370 | Variable expansion replaces each occurrence of | 370 | Variable expansion replaces each occurrence of |
371 | .BI $ NAME | 371 | .BI $ NAME |
372 | or | 372 | or |
373 | .BI ${ NAME } | 373 | .BI ${ NAME } |
374 | with the value of the templave variable \fINAME\fR. | 374 | with 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&O={% $(sortorder M) %}">Last modified</a> | 493 | <a href="?C=M&O={% $(sortorder M) %}">Last modified</a> |
494 | </th> | 494 | </th> |
495 | <th> | 495 | <th> |
496 | <a href="?C=S&O={% $(sortorder S) %}">Size</a> | 496 | <a href="?C=S&O={% $(sortorder S) %}">Size</a> |
497 | </th> | 497 | </th> |
498 | .EE9 | 498 | .EE |
499 | .SH COPYRIGHT | 499 | .SH COPYRIGHT |
500 | Copyright \(co 2017, 2018 Sergey Poznyakoff | 500 | Copyright \(co 2017, 2018 Sergey Poznyakoff |
501 | .br | 501 | .br |
502 | .na | 502 | .na |
503 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | 503 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |
504 | .br | 504 | .br |