Browse Source

Fixed documentation for --realm option

tests
Sebastian Lohff 10 years ago
parent
commit
df6e6f403a
  1. 2
      servefile
  2. 5
      servefile.1

2
servefile

@ -939,7 +939,7 @@ def main(): @@ -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', \

5
servefile.1

@ -82,6 +82,11 @@ Certfile to use for SSL @@ -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

Loading…
Cancel
Save