diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-09-28 00:29:40 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-09-28 00:29:40 +0000 |
commit | e8e356d4165a870bf2be0c21d03b41d6e0005b97 (patch) | |
tree | b72346c347d4df72c28458b31539472bd3e683ab /usr.sbin/httpd | |
parent | cc9441306995e383cbda1ae6eee5b7538542cd08 (diff) |
format usage nicer, and add startssl to summary usage. also order the
parameters a bit more logical. missing startssl pointed out by jsyn@, what
made me look at it ;-)
ok deraadt@
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r-- | usr.sbin/httpd/src/support/apachectl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/httpd/src/support/apachectl b/usr.sbin/httpd/src/support/apachectl index abab715e779..a20ae4dbce1 100644 --- a/usr.sbin/httpd/src/support/apachectl +++ b/usr.sbin/httpd/src/support/apachectl @@ -161,7 +161,9 @@ do fi ;; *) - echo "usage: $0 (start|stop|restart|fullstatus|status|graceful|configtest|help)" + BNAME=`basename $0` + echo "usage: $BNAME [ start | startssl | stop | restart | graceful | " + echo " status | fullstatus | configtest | help ]" cat <<EOF start - start httpd @@ -169,9 +171,9 @@ startssl - start httpd with SSL enabled stop - stop httpd restart - restart httpd if running by sending a SIGHUP or start if not running -fullstatus - dump a full status screen; requires lynx and mod_status enabled -status - dump a short status screen; requires lynx and mod_status enabled graceful - do a graceful restart by sending a SIGUSR1 or start if not running +status - dump a short status screen; requires lynx and mod_status enabled +fullstatus - dump a full status screen; requires lynx and mod_status enabled configtest - do a configuration syntax test help - this screen |