summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/include/usage.h b/include/usage.h
index 2a6e335..69e958d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3034,22 +3034,24 @@ USE_FEATURE_START_STOP_DAEMON_FANCY( \
"computer over a network using the TELNET protocol."
#endif
-#ifdef CONFIG_FEATURE_TELNETD_INETD
+#ifdef CONFIG_FEATURE_TELNETD_STANDALONE
#define telnetd_trivial_usage \
- "(inetd mode) [OPTION]"
+ "[OPTION]"
#define telnetd_full_usage \
- "Telnetd uses incoming TELNET connections via inetd.\n" \
+ "Telnetd listens for incoming TELNET connections on PORT.\n" \
"Options:\n" \
- "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)\n" \
- "\t-f issue_file\tDisplay issue_file instead of /etc/issue"
+ "\t-p PORT\t\tlisten for connections on PORT (default 23)\n" \
+ "\t-l LOGIN\texec LOGIN on connect\n" \
+ "\t-f issue_file\tDisplay issue_file instead of /etc/issue\n" \
+ "\t-F\t\tForeground mode\n" \
+ "\t-i\t\tInetd mode"
#else
#define telnetd_trivial_usage \
"[OPTION]"
#define telnetd_full_usage \
- "Telnetd listens for incoming TELNET connections on PORT.\n" \
+ "Telnetd uses incoming TELNET connections via inetd.\n" \
"Options:\n" \
- "\t-p PORT\tlisten for connections on PORT (default 23)\n" \
- "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)\n" \
+ "\t-l LOGIN\texec LOGIN on connect\n" \
"\t-f issue_file\tDisplay issue_file instead of /etc/issue"
#endif