summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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