summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/util.c
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2008-08-22 08:52:36 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2008-08-22 08:52:36 +0000
commit36694beb0abb8a4ac82dee69e4672a1ef73d5ec3 (patch)
tree2f0409da522acccff83d218e8c2609b14072c85a /usr.bin/ftp/util.c
parenta06de6ed40e6126b9a5869464c371ea971568f66 (diff)
default file transfer type is binary, not ascii;
commands which toggle settings can take an explicit on or off argument to force the setting appropiately, show these arguments in usage; synchronize synopsis and usage of commands; spacing; KNF; other minor documentation tweaks. written with help by jmc@ ok jmc@ (documentation), martynas@ (type usage and default file transfer type)
Diffstat (limited to 'usr.bin/ftp/util.c')
-rw-r--r--usr.bin/ftp/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ftp/util.c b/usr.bin/ftp/util.c
index 9bed9278af3..d73a7755a5b 100644
--- a/usr.bin/ftp/util.c
+++ b/usr.bin/ftp/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.54 2008/07/08 21:07:57 martynas Exp $ */
+/* $OpenBSD: util.c,v 1.55 2008/08/22 08:52:35 sobrado Exp $ */
/* $NetBSD: util.c,v 1.12 1997/08/18 10:20:27 lukem Exp $ */
/*-
@@ -64,7 +64,7 @@
*/
#if !defined(lint) && !defined(SMALL)
-static const char rcsid[] = "$OpenBSD: util.c,v 1.54 2008/07/08 21:07:57 martynas Exp $";
+static const char rcsid[] = "$OpenBSD: util.c,v 1.55 2008/08/22 08:52:35 sobrado Exp $";
#endif /* not lint and not SMALL */
/*
@@ -113,7 +113,7 @@ setpeer(int argc, char *argv[])
if (argc < 2)
(void)another(&argc, &argv, "to");
if (argc < 2 || argc > 3) {
- fprintf(ttyout, "usage: %s host-name [port]\n", argv[0]);
+ fprintf(ttyout, "usage: %s host [port]\n", argv[0]);
code = -1;
return;
}