summaryrefslogtreecommitdiffstats
path: root/contrib/lukemftp/src/cmdtab.c
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2003-06-16 02:36:38 +0000
committermikeh <mikeh@FreeBSD.org>2003-06-16 02:36:38 +0000
commit1f17b0f8d299a66b618d6671fea9597c971de885 (patch)
treefe7476d6e4129e7a835cd3c91bbef8b7b0b35a14 /contrib/lukemftp/src/cmdtab.c
parent500352886b7759d72e40aaabe66abdb2bdd36c8c (diff)
downloadFreeBSD-src-1f17b0f8d299a66b618d6671fea9597c971de885.zip
FreeBSD-src-1f17b0f8d299a66b618d6671fea9597c971de885.tar.gz
Import the June 15, 2003 CVS version of NetBSD's ftp + patchset to fix
header file differences between FBSD and NBSD. Like lukemftpd, the portable version of lukemftp lags too far behind CVS. This import includes several big fixes plus a cleaned up manpage.
Diffstat (limited to 'contrib/lukemftp/src/cmdtab.c')
-rw-r--r--contrib/lukemftp/src/cmdtab.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/contrib/lukemftp/src/cmdtab.c b/contrib/lukemftp/src/cmdtab.c
index 0f52fe2..0d013b4 100644
--- a/contrib/lukemftp/src/cmdtab.c
+++ b/contrib/lukemftp/src/cmdtab.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cmdtab.c,v 1.39 2000/11/15 00:10:59 lukem Exp $ */
+/* $NetBSD: cmdtab.c,v 1.40 2002/07/29 04:24:47 lukem Exp $ */
/*-
* Copyright (c) 1996-2000 The NetBSD Foundation, Inc.
@@ -69,8 +69,16 @@
* SUCH DAMAGE.
*/
-#include "lukemftp.h"
+#include <sys/cdefs.h>
+#ifndef lint
+#if 0
+static char sccsid[] = "@(#)cmdtab.c 8.4 (Berkeley) 10/9/94";
+#else
+__RCSID("$NetBSD: cmdtab.c,v 1.40 2002/07/29 04:24:47 lukem Exp $");
+#endif
+#endif /* not lint */
+#include <stdio.h>
#include "ftp_var.h"
/*
@@ -123,7 +131,7 @@ char nmaphelp[] = "set templates for default file name mapping";
char ntranshelp[] = "set translation table for default file name mapping";
char optshelp[] = "show or set options for remote commands";
char pagehelp[] = "view a remote file through your pager";
-char passivehelp[] = "enter passive transfer mode";
+char passivehelp[] = "toggle use of passive transfer mode";
char plshelp[] = "list contents of remote path through your pager";
char pmlsdhelp[] = "list contents of remote directory in a machine "
"parsable form through your pager";
OpenPOWER on IntegriCloud