* newer takes an optional second arg, so document this

* be a bit more explicit that the arguments to rate are in bytes
This commit is contained in:
lukem 1999-10-01 05:08:31 +00:00
parent 2763cc1921
commit 38100c05f4
3 changed files with 18 additions and 14 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cmds.c,v 1.65 1999/09/30 23:51:26 lukem Exp $ */
/* $NetBSD: cmds.c,v 1.66 1999/10/01 05:08:31 lukem Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@ -107,7 +107,7 @@
#if 0
static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94";
#else
__RCSID("$NetBSD: cmds.c,v 1.65 1999/09/30 23:51:26 lukem Exp $");
__RCSID("$NetBSD: cmds.c,v 1.66 1999/10/01 05:08:31 lukem Exp $");
#endif
#endif /* not lint */
@ -2066,11 +2066,11 @@ parserate(argc, argv, cmdlineopt)
usage:
if (cmdlineopt)
fprintf(ttyout,
"usage: %s (all|get|put),maximum[,increment]]\n",
"usage: %s (all|get|put),maximum-bytes[,increment-bytes]]\n",
argv[0]);
else
fprintf(ttyout,
"usage: %s (all|get|put) [maximum [increment]]\n",
"usage: %s (all|get|put) [maximum-bytes [increment-bytes]]\n",
argv[0]);
return -1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: cmdtab.c,v 1.28 1999/09/28 06:47:40 lukem Exp $ */
/* $NetBSD: cmdtab.c,v 1.29 1999/10/01 05:08:31 lukem Exp $ */
/*
* Copyright (c) 1985, 1989, 1993, 1994
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)cmdtab.c 8.4 (Berkeley) 10/9/94";
#else
__RCSID("$NetBSD: cmdtab.c,v 1.28 1999/09/28 06:47:40 lukem Exp $");
__RCSID("$NetBSD: cmdtab.c,v 1.29 1999/10/01 05:08:31 lukem Exp $");
#endif
#endif /* not lint */
@ -102,7 +102,7 @@ char proxyhelp[] = "issue command on alternate connection";
char pwdhelp[] = "print working directory on remote machine";
char quithelp[] = "terminate ftp session and exit";
char quotehelp[] = "send arbitrary ftp command";
char ratehelp[] = "set transfer rate limit";
char ratehelp[] = "set transfer rate limit (in bytes/second)";
char receivehelp[] = "receive file";
char regethelp[] = "get file restarting at end of local file";
char remotehelp[] = "get help from remote server";

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ftp.1,v 1.48 1999/09/28 06:47:41 lukem Exp $
.\" $NetBSD: ftp.1,v 1.49 1999/10/01 05:08:32 lukem Exp $
.\"
.\" Copyright (c) 1985, 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -35,7 +35,7 @@
.\"
.\" @(#)ftp.1 8.3 (Berkeley) 10/9/94
.\"
.Dd September 28, 1999
.Dd October 1, 1999
.Dt FTP 1
.Os
.Sh NAME
@ -213,9 +213,11 @@ Enables packet tracing.
Set the maximum transfer rate for
.Ar direction
to
.Ar maximum ,
.Ar maximum
bytes/second,
and if specified, the increment to
.Ar increment .
.Ar increment
bytes/second.
Refer to
.Ic rate
for more information.
@ -658,7 +660,7 @@ settings.
.It Ic msend Ar local-files
A synonym for
.Ic mput .
.It Ic newer Ar file-name
.It Ic newer Ar file-name Op Ar local-file
Get the file only if the modification time of the remote file is more
recent that the file on the current system.
If the file does not
@ -1733,11 +1735,13 @@ command appeared in
Various features such as command line editing, context sensitive
command and file completion, dynamic progress bar, automatic
fetching of files and URLs, modification time preservation,
and transfer rate throttling
transfer rate throttling, and other enhancements over the standard
.Bx
.Ic ftp
were implemented in
.Nx 1.3
(and later releases)
by Luke Mewburn.
by Luke Mewburn <lukem@netbsd.org>.
.Pp
IPv6 support was added by the WIDE/KAME project.
.Sh BUGS