aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-14 16:50:01 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-14 16:50:01 +0000
commit0372f0f1999ace825a2265ad03b80be627b039fb (patch)
treedad5e396079ce4432219dfc3f26762040d23f5cb /include
parent3d17d2b430a6a68c967b789c990cc441154d695e (diff)
downloadbusybox-0372f0f1999ace825a2265ad03b80be627b039fb.tar.gz
httpd: extend -p PORT to -p [IP[v6]:]PORT
httpd: comment out strange code which "closes connection properly" (isnt exit(0) good enough?) handle_incoming_and_exit - 2246 +2246 httpd_main 1116 1141 +25 getLine 75 77 +2 packed_usage 22827 22811 -16 parse_conf 1303 1284 -19 shutdown 32 - -32 handleIncoming 2578 - -2578 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/2 up/down: 2273/-2645) Total: -372 bytes text data bss dec hex filename 774704 1058 11092 786854 c01a6 busybox_old 774335 1058 11092 786485 c0035 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r--include/usage.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/usage.h b/include/usage.h
index 1d4459df1..41459e8c3 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1352,21 +1352,21 @@
" [-h home]" \
" [-d/-e string]"
#define httpd_full_usage \
- "Listen for incoming http server requests" \
- "\n\nOptions:\n" \
- " -c FILE Specifies configuration file. (default httpd.conf)\n" \
- " -p PORT Server port (default 80)\n" \
- " -i Assume that we are started from inetd\n" \
- " -f Do not daemonize\n" \
+ "Listen for incoming HTTP requests" \
+ "\n\nOptions:" \
+ "\n -c FILE Configuration file (default httpd.conf)" \
+ "\n -p PORT Server port (default 80)" \
+ "\n -i Inetd mode" \
+ "\n -f Do not daemonize" \
USE_FEATURE_HTTPD_SETUID( \
- " -u USER[:GRP] Set uid/gid after binding to port\n") \
+ "\n -u USER[:GRP] Set uid/gid after binding to port") \
USE_FEATURE_HTTPD_BASIC_AUTH( \
- " -r REALM Authentication Realm for Basic Authentication\n") \
+ "\n -r REALM Authentication Realm for Basic Authentication") \
USE_FEATURE_HTTPD_AUTH_MD5( \
- " -m PASS Crypt PASS with md5 algorithm\n") \
- " -h HOME Specifies http HOME directory (default ./)\n" \
- " -e STRING HTML encode STRING\n" \
- " -d STRING URL decode STRING"
+ "\n -m PASS Crypt PASS with md5 algorithm") \
+ "\n -h HOME Home directory (default .)" \
+ "\n -e STRING HTML encode STRING" \
+ "\n -d STRING URL decode STRING"
#define hwclock_trivial_usage \
"[-r|--show] [-s|--hctosys] [-w|--systohc]" \