[BusyBox-cvs] busybox/include applets.h,1.84,1.85 usage.h,1.131,1.132

Glenn McGrath bug1 at busybox.net
Fri Dec 13 02:43:53 UTC 2002


Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv18865/include

Modified Files:
	applets.h usage.h 
Log Message:
New applets, ftpget and ftpput


Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- applets.h	13 Dec 2002 00:01:43 -0000	1.84
+++ applets.h	13 Dec 2002 02:43:49 -0000	1.85
@@ -200,6 +200,12 @@
 #ifdef CONFIG_FSCK_MINIX
 	APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix)
 #endif
+#ifdef CONFIG_FTPGET
+	APPLET(ftpget, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
+#ifdef CONFIG_FTPPUT
+	APPLET(ftpput, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
 #ifdef CONFIG_GETOPT
 	APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
 #endif

Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -d -r1.131 -r1.132
--- usage.h	13 Dec 2002 00:01:43 -0000	1.131
+++ usage.h	13 Dec 2002 02:43:49 -0000	1.132
@@ -602,6 +602,27 @@
 	"\t-m\tActivates MINIX-like \"mode not cleared\" warnings\n" \
 	"\t-f\tForce file system check."
 
+#define ftpget_trivial_usage \
+	"[options] remote-host local-directory remote-file"
+#define ftpget_full_usage \
+	"Retrieve a remote file via FTP.\n\n" \
+	"Options:\n" \
+	"\t-c, --continue         Continue a previous transfer\n" \
+	"\t-v, --verbose          Verbose\n" \
+	"\t-u, --username         Username to be used\n" \
+	"\t-p, --password         Password to be used\n" \
+	"\t-P, --port             Port number to be used\n" 
+
+#define ftpput_trivial_usage \
+	"[options] remote-host remote-directory local-file"
+#define ftpput_full_usage \
+	"Store a local file on a remote machine via FTP.\n\n" \
+	"Options:\n" \
+	"\t-v, --verbose          Verbose\n" \
+	"\t-u, --username         Username to be used\n" \
+	"\t-p, --password         Password to be used\n" \
+	"\t-P, --port             Port number to be used\n" 
+
 #define getopt_trivial_usage \
 	"[OPTIONS]..."
 #define getopt_full_usage \




More information about the busybox-cvs mailing list