diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-01-05 04:01:56 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-01-05 04:01:56 +0000 |
commit | 58c708af23d6ad855ea0cd1b61c2b87f26fc6988 (patch) | |
tree | f685aca3eb4a763dd0c58a291c766f018f8656c3 /include/usage.h | |
parent | c2e74ca934860d7cd4b02ab51e4466ae34871223 (diff) | |
download | busybox-w32-58c708af23d6ad855ea0cd1b61c2b87f26fc6988.tar.gz busybox-w32-58c708af23d6ad855ea0cd1b61c2b87f26fc6988.tar.bz2 busybox-w32-58c708af23d6ad855ea0cd1b61c2b87f26fc6988.zip |
New applet: httpd, by Glenn Engel
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index b5687115d..dfcc89626 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -775,7 +775,20 @@ | |||
775 | #define hostname_example_usage \ | 775 | #define hostname_example_usage \ |
776 | "$ hostname\n" \ | 776 | "$ hostname\n" \ |
777 | "sage \n" | 777 | "sage \n" |
778 | 778 | #ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH | |
779 | #define USAGE_HTTPD_BASIC_AUTH(a) a | ||
780 | #else | ||
781 | #define USAGE_HTTPD_BASIC_AUTH(a) | ||
782 | #endif | ||
783 | #define httpd_trivial_usage \ | ||
784 | "[-p <port>] [-d/-e <string>]" USAGE_HTTPD_BASIC_AUTH(" [-c <conf file>] [-r <realm>]") | ||
785 | #define httpd_full_usage \ | ||
786 | "Listens for incoming http server requests.\n"\ | ||
787 | "Options:\n" \ | ||
788 | "\t-p PORT\tServer port (default 80).\n" \ | ||
789 | USAGE_HTTPD_BASIC_AUTH("\t-c FILE\tSpecifies configuration file. (default httpd.conf)\n\t-r REALM\tAuthentication Realm for Basic Authentication\n") \ | ||
790 | "\t-e STRING\tHtml encode STRING\n" \ | ||
791 | "\t-d STRING\tURL decode STRING\n" | ||
779 | #define hwclock_trivial_usage \ | 792 | #define hwclock_trivial_usage \ |
780 | "[-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--utc]" | 793 | "[-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--utc]" |
781 | #define hwclock_full_usage \ | 794 | #define hwclock_full_usage \ |