doc: Typo fixes and other documentation improvements.
[ashd.git] / doc / htls.doc
1 htls(1)
2 =======
3
4 NAME
5 ----
6 htls - Directory lister for ashd(7)
7
8 SYNOPSIS
9 --------
10 *htls* [*-hms*] [*-c* 'STYLESHEET'] 'METHOD' 'URL' 'REST'
11
12 DESCRIPTION
13 -----------
14
15 *htls* can be called from *dirplex*(1) for generating listings for
16 directories that lack an index file. The generated index will be a
17 HTML table with links to subdirectories and additional file
18 information as specified by command-line options. It needs to be
19 called with the `X-Ash-File` header added to the request, as
20 *dirplex*(1) does.
21
22 *htls* is a transient handler, as defined in *ashd*(7), and the
23 'METHOD', 'URL' and 'REST' arguments will normally be added by the
24 parent handler.
25
26 OPTIONS
27 -------
28
29 *-h*::
30
31         Print a brief help message to standard output and exit.
32
33 *-m*::
34
35         Include the time of last modification for the listed files and
36         directories in the listing.
37
38 *-s*::
39
40         Include the size of the listed files in the listing.
41
42 *-c* 'STYLESHEET'::
43
44         Instead of including an inline stylesheet, insert 'STYLESHEET'
45         as a stylesheet link in the generated index.
46
47 AUTHOR
48 ------
49 Fredrik Tolf <fredrik@dolda2000.com>
50
51 SEE ALSO
52 --------
53 *dirplex*(1) (the EXAMPLES section), *ashd*(7)