Steven Scholz writes:
authorEric Andersen <andersen@codepoet.org>
Wed, 14 Apr 2004 17:59:21 +0000 (17:59 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 14 Apr 2004 17:59:21 +0000 (17:59 -0000)
Hi there,

the "-h" option of httpd is not described in the usage text.

Please find the attached patch.

Thanks.

Steven

include/usage.h

index cd8a5ce715ea1f450a80f6abfc86ea8e562eed3d..43b903c3dab1bf01ade7ec7523832bfd0c1dac7a 100644 (file)
        USAGE_HTTPD_SETUID(" [-u user]") \
        USAGE_HTTPD_BASIC_AUTH(" [-r <realm>]") \
        USAGE_HTTPD_AUTH_MD5(" [-m pass]") \
+       " [-h home]" \
        " [-d/-e <string>]"
 #define httpd_full_usage \
        "Listens for incoming http server requests.\n\n"\
        USAGE_HTTPD_SETUID("\t-u USER\tSet uid to USER after listening privileges port\n") \
        USAGE_HTTPD_BASIC_AUTH("\t-r REALM\tAuthentication Realm for Basic Authentication\n") \
        USAGE_HTTPD_AUTH_MD5("\t-m PASS\t\tCrypt PASS with md5 algorithm\n") \
+       "\t-h HOME  \tSpecifies http HOME directory (default ./)\n" \
        "\t-e STRING\tHtml encode STRING\n" \
        "\t-d STRING\tURL decode STRING"