diff options
author | Aki <please@ignore.pl> | 2021-02-24 23:23:55 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-02-24 23:23:55 +0100 |
commit | 32abc5b6372629e14f9734a815768a29a2485144 (patch) | |
tree | a1287072a25b1b984db6d977bd5a06e16beaa4fa | |
parent | ffc14c05b5260166050397cfa50bb88299febea0 (diff) | |
download | plop-32abc5b6372629e14f9734a815768a29a2485144.zip plop-32abc5b6372629e14f9734a815768a29a2485144.tar.gz plop-32abc5b6372629e14f9734a815768a29a2485144.tar.bz2 |
Updated manpage regarding default HANDLER
-rw-r--r-- | plop.1 | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -1,21 +1,26 @@ -.TH plop 1 "2020-08-24" +.TH plop 1 "2021-02-24" .SH NAME plop \- Small hackable standalone engine for Lua web applications .SH SYNOPSIS -.B plop [-p -.IR PORT ] -.IR HANDLER +.SY plop +.OP -p PORT +.RI [ HANDLER ] .SH DESCRIPTION .B plop loads -.IR HADNLER +.IR HANDLER Lua script and starts a HTTP/1.1 server listening on a designated .IR PORT . +.P If .IR PORT is not specified server starts listening on .B 8080 -by default. The script is loaded as if +by default. +.P +If +.IR HANDLER +is not specified then default path defined during compilation is used instead. The script is loaded as if .B require was used with module name .B handler |