Catch up with "base" telnet.

s/FALL THROUGH/FALLTHROUGH/ for lint(1).
s/Usage/usage/ for consistency.


git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@103955 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This commit is contained in:
markm 2002-09-25 07:26:25 +00:00
parent b4c79417a1
commit 112a50cd56
3 changed files with 8 additions and 12 deletions

View File

@ -453,7 +453,7 @@ send_tncmd(void (*func)(int, int), const char *cmd, char *name)
if (isprefix(name, "help") || isprefix(name, "?")) {
int col, len;
printf("Usage: send %s <value|option>\n", cmd);
printf("usage: send %s <value|option>\n", cmd);
printf("\"value\" must be from 0 to 255\n");
printf("Valid options are:\n\t");

View File

@ -61,10 +61,6 @@ static const char sccsid[] = "@(#)main.c 8.3 (Berkeley) 5/30/95";
#define OPTS_FORWARD_CREDS 0x00000002
#define OPTS_FORWARDABLE_CREDS 0x00000001
#if 0
#define FORWARD
#endif
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
char *ipsec_policy_in = NULL;
char *ipsec_policy_out = NULL;
@ -90,7 +86,7 @@ tninit(void)
static void
usage(void)
{
fprintf(stderr, "Usage: %s %s%s%s%s\n",
fprintf(stderr, "usage: %s %s%s%s%s\n",
prompt,
#ifdef AUTHENTICATION
"[-4] [-6] [-8] [-E] [-K] [-L] [-N] [-S tos] [-X atype] [-c] [-d]",

View File

@ -1648,7 +1648,7 @@ telrcv(void)
TTYADD(c);
break;
}
/* Else, fall through */
/* FALLTHROUGH */
case TS_DATA:
if (c == IAC) {