diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 9 |
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 @@ | |||
2084 | "Telnet is used to establish interactive communication with another\n"\ | 2084 | "Telnet is used to establish interactive communication with another\n"\ |
2085 | "computer over a network using the TELNET protocol." | 2085 | "computer over a network using the TELNET protocol." |
2086 | 2086 | ||
2087 | #ifdef CONFIG_FEATURE_TELNETD_INETD | ||
2088 | #define telnetd_trivial_usage \ | ||
2089 | "(inetd mode) [OPTION]" | ||
2090 | #define telnetd_full_usage \ | ||
2091 | "Telnetd uses incoming TELNET connections via inetd.\n"\ | ||
2092 | "Options:\n" \ | ||
2093 | "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)" | ||
2094 | #else | ||
2087 | #define telnetd_trivial_usage \ | 2095 | #define telnetd_trivial_usage \ |
2088 | "[OPTION]" | 2096 | "[OPTION]" |
2089 | #define telnetd_full_usage \ | 2097 | #define telnetd_full_usage \ |
@@ -2091,6 +2099,7 @@ | |||
2091 | "Options:\n" \ | 2099 | "Options:\n" \ |
2092 | "\t-p PORT\tlisten for connections on PORT (default 23)\n"\ | 2100 | "\t-p PORT\tlisten for connections on PORT (default 23)\n"\ |
2093 | "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)" | 2101 | "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)" |
2102 | #endif | ||
2094 | 2103 | ||
2095 | #define test_trivial_usage \ | 2104 | #define test_trivial_usage \ |
2096 | "EXPRESSION\n or [ EXPRESSION ]" | 2105 | "EXPRESSION\n or [ EXPRESSION ]" |