diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/include/usage.h b/include/usage.h index ba77490cb..9fa1b9ef8 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1468,11 +1468,11 @@ | |||
1468 | "\n -m Get baud rate from modem's CONNECT status message" \ | 1468 | "\n -m Get baud rate from modem's CONNECT status message" \ |
1469 | "\n -w Wait for a CR or LF before sending /etc/issue" \ | 1469 | "\n -w Wait for a CR or LF before sending /etc/issue" \ |
1470 | "\n -n Do not prompt the user for a login name" \ | 1470 | "\n -n Do not prompt the user for a login name" \ |
1471 | "\n -f issue_file Display issue_file instead of /etc/issue" \ | 1471 | "\n -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue" \ |
1472 | "\n -l login_app Invoke login_app instead of /bin/login" \ | 1472 | "\n -l LOGIN Invoke LOGIN instead of /bin/login" \ |
1473 | "\n -t timeout Terminate after timeout if no username is read" \ | 1473 | "\n -t SEC Terminate after SEC if no username is read" \ |
1474 | "\n -I initstring Init string to send before anything else" \ | 1474 | "\n -I INITSTR Send INITSTR before anything else" \ |
1475 | "\n -H login_host Log login_host into the utmp file as the hostname" \ | 1475 | "\n -H HOST Log HOST into the utmp file as the hostname" \ |
1476 | 1476 | ||
1477 | #define grep_trivial_usage \ | 1477 | #define grep_trivial_usage \ |
1478 | "[-HhrilLnqvso" \ | 1478 | "[-HhrilLnqvso" \ |
@@ -4415,14 +4415,18 @@ | |||
4415 | IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n" \ | 4415 | IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n" \ |
4416 | "\nOptions:" \ | 4416 | "\nOptions:" \ |
4417 | "\n -l LOGIN Exec LOGIN on connect" \ | 4417 | "\n -l LOGIN Exec LOGIN on connect" \ |
4418 | "\n -f issue_file Display issue_file instead of /etc/issue" \ | 4418 | "\n -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue" \ |
4419 | "\n -K Close connection as soon as login exits" \ | 4419 | "\n -K Close connection as soon as login exits" \ |
4420 | "\n (normally wait until all programs close slave pty)" \ | 4420 | "\n (normally wait until all programs close slave pty)" \ |
4421 | IF_FEATURE_TELNETD_STANDALONE( \ | 4421 | IF_FEATURE_TELNETD_STANDALONE( \ |
4422 | "\n -p PORT Port to listen on" \ | 4422 | "\n -p PORT Port to listen on" \ |
4423 | "\n -b ADDR Address to bind to" \ | 4423 | "\n -b ADDR[:PORT] Address to bind to" \ |
4424 | "\n -F Run in foreground" \ | 4424 | "\n -F Run in foreground" \ |
4425 | "\n -i Run as inetd subservice" \ | 4425 | "\n -i Run as inetd service" \ |
4426 | IF_FEATURE_TELNETD_INETD_WAIT( \ | ||
4427 | "\n -w SEC Run as inetd service in wait mode, linger time SEC" \ | ||
4428 | "\n -S Log to syslog (implied by -i or without -F and -w)" \ | ||
4429 | ) \ | ||
4426 | ) | 4430 | ) |
4427 | 4431 | ||
4428 | /* "test --help" does not print help (POSIX compat), only "[ --help" does. | 4432 | /* "test --help" does not print help (POSIX compat), only "[ --help" does. |