aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h15
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 \