summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-02-24 23:23:55 +0100
committerAki <please@ignore.pl>2021-02-24 23:23:55 +0100
commit32abc5b6372629e14f9734a815768a29a2485144 (patch)
treea1287072a25b1b984db6d977bd5a06e16beaa4fa
parentffc14c05b5260166050397cfa50bb88299febea0 (diff)
downloadplop-32abc5b6372629e14f9734a815768a29a2485144.zip
plop-32abc5b6372629e14f9734a815768a29a2485144.tar.gz
plop-32abc5b6372629e14f9734a815768a29a2485144.tar.bz2
Updated manpage regarding default HANDLER
-rw-r--r--plop.117
1 files 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