diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /networking/telnet.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/telnet.c')
-rw-r--r-- | networking/telnet.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index f6fad684c..1f0d85107 100644 --- a/networking/telnet.c +++ b/networking/telnet.c | |||
@@ -21,6 +21,22 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | //usage:#if ENABLE_FEATURE_TELNET_AUTOLOGIN | ||
25 | //usage:#define telnet_trivial_usage | ||
26 | //usage: "[-a] [-l USER] HOST [PORT]" | ||
27 | //usage:#define telnet_full_usage "\n\n" | ||
28 | //usage: "Connect to telnet server\n" | ||
29 | //usage: "\nOptions:" | ||
30 | //usage: "\n -a Automatic login with $USER variable" | ||
31 | //usage: "\n -l USER Automatic login as USER" | ||
32 | //usage: | ||
33 | //usage:#else | ||
34 | //usage:#define telnet_trivial_usage | ||
35 | //usage: "HOST [PORT]" | ||
36 | //usage:#define telnet_full_usage "\n\n" | ||
37 | //usage: "Connect to telnet server" | ||
38 | //usage:#endif | ||
39 | |||
24 | #include <arpa/telnet.h> | 40 | #include <arpa/telnet.h> |
25 | #include <netinet/in.h> | 41 | #include <netinet/in.h> |
26 | #include "libbb.h" | 42 | #include "libbb.h" |