summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-15 11:16:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-15 11:16:32 +0000
commit54b87ddc0035eb9c45a05618dc7b9ccc5a226d1c (patch)
tree6504ad1c05af7c8bbde7249a5c066e73e98d92e7
parentab822740b30eed312f5eca401d6bea66bab4b997 (diff)
usage cleanup
-rw-r--r--usr.bin/telnet/main.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.bin/telnet/main.c b/usr.bin/telnet/main.c
index 49861df3096..0dbc17a4ba5 100644
--- a/usr.bin/telnet/main.c
+++ b/usr.bin/telnet/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.8 1999/12/06 00:31:55 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.9 1999/12/15 11:16:31 deraadt Exp $ */
/* $NetBSD: main.c,v 1.5 1996/02/28 21:04:05 thorpej Exp $ */
/*
@@ -81,10 +81,10 @@ usage()
prompt,
#ifdef AUTHENTICATION
"[-8] [-E] [-K] [-L] [-S tos] [-X atype] [-a] [-c] [-d] [-e char]",
- "\n\t[-k realm] [-l user] [-f/-F] [-n tracefile] [-b hostalias ]",
+ "\n\t[-k realm] [-l user] [-f/-F] [-n tracefile] [-b hostalias ] ",
#else
"[-8] [-E] [-L] [-S tos] [-a] [-c] [-d] [-e char] [-l user]",
- "\n\t[-n tracefile] [-b hostalias ]",
+ "\n\t[-n tracefile] [-b hostalias ] ",
#endif
#if defined(TN3270) && defined(unix)
# ifdef AUTHENTICATION
@@ -95,13 +95,11 @@ usage()
#else
"[-r] ",
#endif
+ "\n\t"
#ifdef ENCRYPTION
- "[-x] [host-name [port]]"
-#else
-
- "[host-name [port]]"
+ "[-x] "
#endif
- );
+ "[host-name [port]]");
exit(1);
}