From 32abc5b6372629e14f9734a815768a29a2485144 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 24 Feb 2021 23:23:55 +0100 Subject: Updated manpage regarding default HANDLER --- plop.1 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/plop.1 b/plop.1 index 4aea823..921e1fb 100644 --- a/plop.1 +++ b/plop.1 @@ -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 -- cgit v1.1