forked from seba/servefile
fixed errors in manpage
This commit is contained in:
parent
cc93b6340c
commit
ecba7e1d37
24
servefile.1
24
servefile.1
|
@ -1,4 +1,4 @@
|
||||||
.TH SERVEFILE "1" "April 2012" "servefile 0.4.0" "User Commands"
|
.TH SERVEFILE "20" "April 2012" "servefile 0.4.0" "User Commands"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
servefile \- small HTTP-Server for transitional file transfer
|
servefile \- small HTTP-Server for transitional file transfer
|
||||||
|
@ -74,26 +74,18 @@ Certfile to use for SSL
|
||||||
Set user and password for HTTP basic authentication
|
Set user and password for HTTP basic authentication
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
Serving a single file with SSL and HTTP Basic auth:
|
Serving a single file with SSL and HTTP Basic auth:
|
||||||
.PP
|
.IP
|
||||||
.Vb 1
|
servefile \-\-ssl \-\-auth foo:bar the_file
|
||||||
servefile --ssl --auth foo:bar the_file
|
|
||||||
.Ve
|
|
||||||
.PP
|
.PP
|
||||||
Enabling uploads to a directory:
|
Enabling uploads to a directory:
|
||||||
.PP
|
.IP
|
||||||
.Bv 1
|
servefile \-u dir/
|
||||||
servefile -u dir/
|
|
||||||
.Ve
|
|
||||||
.PP
|
.PP
|
||||||
Uploading file foo as bar to servefile via command line:
|
Uploading file foo as bar to servefile via command line:
|
||||||
.PP
|
.PP
|
||||||
.Bv 1
|
curl \-X PUT http://ip:port/bar \-d @foo
|
||||||
curl -X PUT http://ip:port/bar -d @foo
|
curl \-X POST http://ip:port/bar \-d @foo
|
||||||
curl -X POST http://ip:port/bar -d @foo
|
wget http://ip:port/bar \-\-post-file=foo
|
||||||
wget http://ip:port/bar --post-file=foo
|
|
||||||
.Ve
|
|
||||||
.PP
|
.PP
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
servefile is developed by Sebastian Lohff <seba@someserver.de>
|
servefile is developed by Sebastian Lohff <seba@someserver.de>
|
||||||
|
|
||||||
.SH COPYRIGHT
|
|
||||||
|
|
Loading…
Reference in New Issue