www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Care@hyperreal.org, Doyoureally <probablywontre...@ttsg.com>
Subject general/4614: http doesn't show proper usage
Date Sun, 20 Jun 1999 11:30:21 GMT

>Number:         4614
>Category:       general
>Synopsis:       http doesn't show proper usage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jun 20 04:40:01 PDT 1999
>Originator:     probablywontreply@ttsg.com
>Release:        1.3.6
asgard# uname -a
BSD/OS asgard.ttsg.com 4.0.1 BSDI BSD/OS 4.0.1 Kernel #4: Fri Feb 19 11:52:44 MST 1999   
 polk@demiurge.BSDI.COM:/home/polk/tmp/sys/compile/GENERIC  i386
asgard# gcc -v
gcc version
When doing a httpd -h, it does not show "[-D name]" in the
"Usage:" section.

asgard# ./httpd -h
Usage: ./httpd [-d directory] [-f file]
               [-C "directive"] [-c "directive"]
               [-v] [-V] [-h] [-l] [-L] [-S] [-t]
  -D name          : define a name for use in <IfDefine name> directives
  -d directory     : specify an alternate initial ServerRoot
  -f file          : specify an alternate ServerConfigFile
  -C "directive"   : process directive before reading config files
  -c "directive"   : process directive after  reading config files
  -v               : show version number
  -V               : show compile settings
  -h               : list available command line options (this page)
  -l               : list compiled-in modules
  -L               : list available configuration directives
  -S               : show parsed settings (currently only vhost settings)
  -t               : run syntax test for configuration files only
httpd -h
In http_main.c 

Line 981 :

    fprintf(stderr, "Usage: %s [-R directory] [-d directory] [-f file]\n", bin);

    fprintf(stderr, "Usage: %s [-R directory] [-D name] [-d directory] [-f file]\n", bin);

Line 983:

    fprintf(stderr, "Usage: %s [-d directory] [-f file]\n", bin);
    fprintf(stderr, "Usage: %s [-d directory] [-D name] [-f file]\n", bin);

[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message