diff options
author | Aki <please@ignore.pl> | 2021-02-24 23:35:55 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-02-24 23:35:55 +0100 |
commit | f2214f3ff4c11d0d7c6890547dd36cd15ac72e3d (patch) | |
tree | fde1ae808f44908e1c65603ba6b7f13603d8d9b6 /plop.1 | |
parent | cfeb0c196655f3cb8afa200eebc443fa12961552 (diff) | |
download | plop-f2214f3ff4c11d0d7c6890547dd36cd15ac72e3d.zip plop-f2214f3ff4c11d0d7c6890547dd36cd15ac72e3d.tar.gz plop-f2214f3ff4c11d0d7c6890547dd36cd15ac72e3d.tar.bz2 |
Added help CLI option
Diffstat (limited to 'plop.1')
-rw-r--r-- | plop.1 | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4,6 +4,7 @@ plop \- Small hackable standalone engine for Lua web applications .SH SYNOPSIS .SY plop .OP \-p PORT +.OP \-h .RI [ HANDLER ] .YS .SH DESCRIPTION @@ -27,3 +28,9 @@ was used with module name .B handler and the return value is set as global variable with the same name. Loaded script is expected to return a function which will be used to handle each request. +.P +If +.B \-h +option is used a short help message is printed out to standard error output, and then program is terminated. This short +message contains default value of +.IR HANDLER . |