telnet: shrink

telnetd: shrink, and fix issue file printing
test: better and shorter usage text

function                                             old     new   delta
putiac2                                               51      50      -1
putiac                                                24      20      -4
handlenetoutput                                       95      91      -4
telnet_main                                         1480    1475      -5
iacflush                                              37      32      -5
make_new_session                                     436     421     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-34)             Total: -34 bytes
This commit is contained in:
Denis Vlasenko
2008-07-21 09:22:28 +00:00
parent 84c8daa11f
commit 1101d1c980
3 changed files with 24 additions and 27 deletions

View File

@@ -4015,8 +4015,8 @@
#define telnet_full_usage "\n\n" \
"Connect to telnet server\n" \
"\nOptions:" \
"\n -a Attempt an automatic login with USER variable" \
"\n -l USER Attempt an automatic login with USER argument" \
"\n -a Automatic login with $USER variable" \
"\n -l USER Automatic login as USER" \
#else
#define telnet_trivial_usage \
@@ -4047,8 +4047,8 @@
#define test_trivial_usage \
"EXPRESSION ]"
#define test_full_usage "\n\n" \
"Check file types and compares values returning an exit code\n" \
"determined by the value of EXPRESSION"
"Check file types, compare values etc. Return a 0/1 exit code\n" \
"depending on logical value of EXPRESSION"
#define test_example_usage \
"$ test 1 -eq 2\n" \
"$ echo $?\n" \