tests
Tom Priebe 12 years ago committed by Sebastian Lohff
parent 3a06b0699d
commit be6e735a43

@ -638,7 +638,7 @@ def main():
parser.add_argument('-u', '--upload', action="store_true", default=False, \ parser.add_argument('-u', '--upload', action="store_true", default=False, \
help="Enable uploads to a given directory") help="Enable uploads to a given directory")
parser.add_argument('-s', '--max-upload-size', type=str, \ parser.add_argument('-s', '--max-upload-size', type=str, \
help="Limit uploadsize in kb. Size modifiers are allowed, e.g. 2G, 12Mb, 1b.") help="Limit upload size in kB. Size modifiers are allowed, e.g. 2G, 12MB, 1B.")
parser.add_argument('-l', '--list-dir', action="store_true", default=False, \ parser.add_argument('-l', '--list-dir', action="store_true", default=False, \
help="Show directory indexes and allow access to all subdirectories") help="Show directory indexes and allow access to all subdirectories")
parser.add_argument('--ssl', action="store_true", default=False, \ parser.add_argument('--ssl', action="store_true", default=False, \

@ -16,8 +16,8 @@ a short time and to send files to other people, not for doing high-performance
static file serving. static file serving.
.SH DESCRIPTION .SH DESCRIPTION
servefile is a small HTTP-server intended for temporary file transfer mostly Servefile is a small HTTP-server intended for temporary file transfer mostly
in the local network. It aims to make transfering single files as painless as in the local network. It aims to make transferring single files as painless as
possible and to replace tar/netcat solutions. possible and to replace tar/netcat solutions.
With just a file as argument servefile serves just that one file and redirects With just a file as argument servefile serves just that one file and redirects
@ -60,8 +60,8 @@ Port to listen on
Enable uploads to a given directory Enable uploads to a given directory
.TP .TP
\fB\-s\fR MAX_UPLOAD_SIZE, \fB\-\-max\-upload\-size\fR MAX_UPLOAD_SIZE \fB\-s\fR MAX_UPLOAD_SIZE, \fB\-\-max\-upload\-size\fR MAX_UPLOAD_SIZE
Limit uploadsize in kb. Size modifiers are allowed, Limit upload size in kB. Size modifiers are allowed,
e.g. 2G, 12Mb, 1b. e.g. 2G, 12MB, 1B.
.TP .TP
\fB\-l\fR, \fB\-\-list\-dir\fR \fB\-l\fR, \fB\-\-list\-dir\fR
Show directory indexes and allow access to all Show directory indexes and allow access to all

Loading…
Cancel
Save