summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-09-28 00:29:39 +0000
committerhenning <henning@openbsd.org>2002-09-28 00:29:39 +0000
commit268da504f2142b4cf260befb467f1669d42b6cdb (patch)
tree6e4f123e1bf758599354a0761c53e65743af2fa1
parentAdd a caveat about PCI ROMs possibly sitting in the iomem range (diff)
downloadwireguard-openbsd-268da504f2142b4cf260befb467f1669d42b6cdb.tar.xz
wireguard-openbsd-268da504f2142b4cf260befb467f1669d42b6cdb.zip
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@
-rw-r--r--usr.sbin/httpd/src/support/apachectl8
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