Skip to content

Commit 9e3a204

Browse files
authored
Added missing option descriptions in doc.go (#98)
1 parent 3f5569e commit 9e3a204

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc.go

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Usage:
2222
-host="host" : host for http server, default - all interfaces
2323
-port=NNNN : port for http server, 0 - to receive a random port, default - 8080
2424
-form : parse query into environment vars, handle uploaded files
25+
-form-check : regexp for check form fields (pass only vars that match the regexp)
2526
-cgi : run scripts in CGI-mode:
2627
- set environment variables with HTTP-request information
2728
- write POST|PUT|PATCH-data to script STDIN (if not set -form)
@@ -36,6 +37,7 @@ Usage:
3637
-one-thread : run each shell command in one thread
3738
-show-errors : show the standard output even if the command exits with a non-zero exit code
3839
-include-stderr : include stderr to output (default is stdout only)
40+
-500 : return 500 error if shell exit code != 0
3941
-cert=cert.pem : SSL certificate path (if specified -cert/-key options - run https server)
4042
-key=key.pem : SSL private key path
4143
-basic-auth="" : setup HTTP Basic Authentication ("user_name:password"), can be used several times

0 commit comments

Comments
 (0)