From df6e6f403a733505d8f6ce6b827638ae1d3025bd Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Mon, 25 Jun 2012 13:05:43 +0200 Subject: [PATCH] Fixed documentation for --realm option --- servefile | 2 +- servefile.1 | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/servefile b/servefile index d0a05af..99f1031 100755 --- a/servefile +++ b/servefile @@ -939,7 +939,7 @@ def main(): parser.add_argument('-a', '--auth', type=str, metavar='user:password', \ help="Set user and password for HTTP basic authentication") parser.add_argument('--realm', type=str, default=None,\ - help="Set the realm for HTTP basic authentication") + help="Set a realm for HTTP basic authentication") parser.add_argument('-t', '--tar', action="store_true", default=False, \ help="Enable on the fly tar creation for given file or directory. Note: Download continuation will not be available") parser.add_argument('-c', '--compression', type=str, metavar='method', \ diff --git a/servefile.1 b/servefile.1 index 59d1bd8..1a61331 100644 --- a/servefile.1 +++ b/servefile.1 @@ -82,6 +82,11 @@ Certfile to use for SSL \fB\-a\fR user:password, \fB\-\-auth\fR user:password Set user and password for HTTP basic authentication .TP +\fB\-\-realm\fR REALM +Set a realm for HTTP basic authentication. This is an +arbitrary string which is displayed when doing HTTP +basic authentication +.TP \fB\-t\fR, \fB\-\-tar\fR Enable on the fly tar creation for given file or directory. Note: Download continuation will not be