From 4c76137674edb0fe3965f52089c635700c2cca4f Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Fri, 27 Apr 2012 17:39:33 +0200 Subject: [PATCH] Fixed manpage text --- servefile.1 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/servefile.1 b/servefile.1 index b5de9da..1f9cd9a 100644 --- a/servefile.1 +++ b/servefile.1 @@ -12,7 +12,7 @@ servefile \- small HTTP-Server for temporary file transfer .SH DISCLAIMER Do not use this as a normal webserver. This server is optimized for running -a short time and to send files to other people, not for doing performant +a short time and to send files to other people, not for doing high-performance static file serving. .SH DESCRIPTION @@ -32,11 +32,13 @@ For SSL support python-openssl (pyssl) needs to be installed. If no key and cert is given, servefile will generate a keypair for you and display its fingerprint. -In \fB--tar\fR mode the given file or directory will be on the fly and on -request packed and, through the HTTP connection, piped to the client. Tar files -will be created only containing the top directory given to servefile, so using -path/to/dir/ as \fIfile/directory\fR argument will create a tar file starting -with the dir/ directory. Symlinks will not be dereferenced. +In \fB--tar\fR mode the given file or directory will be packed on (each) +request and piped to the client through the HTTP connection. Tar files +will be created containing only the lowest directory name from the full path, +so using /path/to/dir/ as \fIfile/directory\fR argument will create a tar +file starting with the dir/ directory. When giving a file as argument, only +the file without any path will be in the tar. +Symlinks will not be dereferenced. .SH COMMAND SUMMARY .SS "positional arguments:"