Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp rename "opts" to "remopts", so people used to "o...



details:   https://anonhg.NetBSD.org/src/rev/f9c30fe5d056
branches:  trunk
changeset: 495452:f9c30fe5d056
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jul 28 11:45:11 2000 +0000

description:
rename "opts" to "remopts", so people used to "o host" don't get bitten...

diffstat:

 usr.bin/ftp/cmdtab.c |   6 +++---
 usr.bin/ftp/ftp.1    |  40 ++++++++++++++++++++--------------------
 2 files changed, 23 insertions(+), 23 deletions(-)

diffs (116 lines):

diff -r 67c18bef3fbb -r f9c30fe5d056 usr.bin/ftp/cmdtab.c
--- a/usr.bin/ftp/cmdtab.c      Fri Jul 28 11:03:13 2000 +0000
+++ b/usr.bin/ftp/cmdtab.c      Fri Jul 28 11:45:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmdtab.c,v 1.36 2000/07/18 07:16:53 lukem Exp $        */
+/*     $NetBSD: cmdtab.c,v 1.37 2000/07/28 11:45:11 lukem Exp $        */
 
 /*-
  * Copyright (c) 1996-2000 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
 #if 0
 static char sccsid[] = "@(#)cmdtab.c   8.4 (Berkeley) 10/9/94";
 #else
-__RCSID("$NetBSD: cmdtab.c,v 1.36 2000/07/18 07:16:53 lukem Exp $");
+__RCSID("$NetBSD: cmdtab.c,v 1.37 2000/07/28 11:45:11 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -238,7 +238,6 @@
        { "nmap",       nmaphelp,       0, 0, 1, CMPL0          setnmap },
        { "ntrans",     ntranshelp,     0, 0, 1, CMPL0          setntrans },
        { "open",       connecthelp,    0, 0, 1, CMPL0          setpeer },
-       { "opts",       optshelp,       0, 1, 1, CMPL0          opts },
        { "page",       pagehelp,       1, 1, 1, CMPL(r)        page },
        { "passive",    passivehelp,    0, 0, 0, CMPL0          setpassive },
        { "pdir",       plshelp,        1, 1, 1, CMPL(r)        ls },
@@ -256,6 +255,7 @@
        { "rcvbuf",     xferbufhelp,    0, 0, 0, CMPL0          setxferbuf },
        { "recv",       receivehelp,    1, 1, 1, CMPL(rl)       get },
        { "reget",      regethelp,      1, 1, 1, CMPL(rl)       reget },
+       { "remopts",    optshelp,       0, 1, 1, CMPL0          opts },
        { "rename",     renamehelp,     0, 1, 1, CMPL(rr)       renamefile },
        { "reset",      resethelp,      0, 1, 1, CMPL0          reset },
        { "restart",    restarthelp,    1, 1, 1, CMPL0          restart },
diff -r 67c18bef3fbb -r f9c30fe5d056 usr.bin/ftp/ftp.1
--- a/usr.bin/ftp/ftp.1 Fri Jul 28 11:03:13 2000 +0000
+++ b/usr.bin/ftp/ftp.1 Fri Jul 28 11:45:11 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ftp.1,v 1.71 2000/07/18 07:18:36 lukem Exp $
+.\"    $NetBSD: ftp.1,v 1.72 2000/07/28 11:45:12 lukem Exp $
 .\"
 .\" Copyright (c) 1996-2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -68,7 +68,7 @@
 .\"
 .\"    @(#)ftp.1       8.3 (Berkeley) 10/9/94
 .\"
-.Dd July 18, 2000
+.Dd July 28, 2000
 .Dt FTP 1
 .Os
 .Sh NAME
@@ -675,7 +675,7 @@
 in a machine-parsable form, using
 .Dv MLSD .
 The format of display can be changed with
-.Sq "opts mlst ..." .
+.Sq "remopts mlst ..." .
 .It Ic mlst Op Ar remote-path
 Display the details about
 .Ar remote-path
@@ -683,7 +683,7 @@
 in a machine-parsable form, using
 .Dv MLST .
 The format of display can be changed with
-.Sq "opts mlst ..." .
+.Sq "remopts mlst ..." .
 .It Ic mode Ar mode-name
 Set the file transfer
 .Ic mode
@@ -843,22 +843,6 @@
 the
 .Tn FTP
 server (see below).
-.It Ic opts Ar command Op Ar command-options
-Set options on the remote
-.Tn FTP
-server for
-.Ar command
-to
-.Ar command-options
-(whose absence is handled on a command-specific basis).
-Remote
-.Tn FTP
-commands known to support options include:
-.Sq MLST
-(used for
-.Dv MLSD
-and 
-.Dv MLST ) .
 .It Ic page Ar file
 Retrieve
 .Ic file
@@ -1115,6 +1099,22 @@
 This command
 is useful when transferring very large files over networks that
 are prone to dropping connections.
+.It Ic remopts Ar command Op Ar command-options
+Set options on the remote
+.Tn FTP
+server for
+.Ar command
+to
+.Ar command-options
+(whose absence is handled on a command-specific basis).
+Remote
+.Tn FTP
+commands known to support options include:
+.Sq MLST
+(used for
+.Dv MLSD
+and 
+.Dv MLST ) .
 .It Ic rename Op Ar from Op Ar to
 Rename the file
 .Ar from



Home | Main Index | Thread Index | Old Index