summaryrefslogtreecommitdiffhomepage
path: root/include/usage.h
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-02-15 11:50:33 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-02-15 11:50:33 +0000
commit4a4c677fccabdcd6db509488c9cb5d784afaa59d (patch)
tree3b506db6f7afd3b7babe4c33436a46f0526d09c5 /include/usage.h
parent3238ea1673d55b37abeba066826963101e6af020 (diff)
Patch from Bastian Blank
- ip route flush - different usage for telnetd in inetd mode - changes for the default flags of the ip features - if no /usr requested, udhcpc should use the script also without /usr.
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 55693c61e..9616906d2 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2084,6 +2084,14 @@
"Telnet is used to establish interactive communication with another\n"\
"computer over a network using the TELNET protocol."
+#ifdef CONFIG_FEATURE_TELNETD_INETD
+#define telnetd_trivial_usage \
+ "(inetd mode) [OPTION]"
+#define telnetd_full_usage \
+ "Telnetd uses incoming TELNET connections via inetd.\n"\
+ "Options:\n" \
+ "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)"
+#else
#define telnetd_trivial_usage \
"[OPTION]"
#define telnetd_full_usage \
@@ -2091,6 +2099,7 @@
"Options:\n" \
"\t-p PORT\tlisten for connections on PORT (default 23)\n"\
"\t-l LOGIN\texec LOGIN on connect (default /bin/sh)"
+#endif
#define test_trivial_usage \
"EXPRESSION\n or [ EXPRESSION ]"