aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-12-13 02:43:50 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-12-13 02:43:50 +0000
commit61a2bcec2863a4d88ef8b3d6a7d5a3c9893db382 (patch)
tree0f360f59ce41caaef1c123a69b3a88aa14c3e6e2 /include
parent6f0d2abefc97178181f7e8df3c0bcecbfb4265b5 (diff)
downloadbusybox-w32-61a2bcec2863a4d88ef8b3d6a7d5a3c9893db382.tar.gz
busybox-w32-61a2bcec2863a4d88ef8b3d6a7d5a3c9893db382.tar.bz2
busybox-w32-61a2bcec2863a4d88ef8b3d6a7d5a3c9893db382.zip
New applets, ftpget and ftpput
git-svn-id: svn://busybox.net/trunk/busybox@6204 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/applets.h6
-rw-r--r--include/usage.h21
2 files changed, 27 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index bd2053039..5d8e7bb68 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -200,6 +200,12 @@
200#ifdef CONFIG_FSCK_MINIX 200#ifdef CONFIG_FSCK_MINIX
201 APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix) 201 APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix)
202#endif 202#endif
203#ifdef CONFIG_FTPGET
204 APPLET(ftpget, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
205#endif
206#ifdef CONFIG_FTPPUT
207 APPLET(ftpput, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
208#endif
203#ifdef CONFIG_GETOPT 209#ifdef CONFIG_GETOPT
204 APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER) 210 APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
205#endif 211#endif
diff --git a/include/usage.h b/include/usage.h
index d3c1e5072..3b519e65d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -602,6 +602,27 @@
602 "\t-m\tActivates MINIX-like \"mode not cleared\" warnings\n" \ 602 "\t-m\tActivates MINIX-like \"mode not cleared\" warnings\n" \
603 "\t-f\tForce file system check." 603 "\t-f\tForce file system check."
604 604
605#define ftpget_trivial_usage \
606 "[options] remote-host local-directory remote-file"
607#define ftpget_full_usage \
608 "Retrieve a remote file via FTP.\n\n" \
609 "Options:\n" \
610 "\t-c, --continue Continue a previous transfer\n" \
611 "\t-v, --verbose Verbose\n" \
612 "\t-u, --username Username to be used\n" \
613 "\t-p, --password Password to be used\n" \
614 "\t-P, --port Port number to be used\n"
615
616#define ftpput_trivial_usage \
617 "[options] remote-host remote-directory local-file"
618#define ftpput_full_usage \
619 "Store a local file on a remote machine via FTP.\n\n" \
620 "Options:\n" \
621 "\t-v, --verbose Verbose\n" \
622 "\t-u, --username Username to be used\n" \
623 "\t-p, --password Password to be used\n" \
624 "\t-P, --port Port number to be used\n"
625
605#define getopt_trivial_usage \ 626#define getopt_trivial_usage \
606 "[OPTIONS]..." 627 "[OPTIONS]..."
607#define getopt_full_usage \ 628#define getopt_full_usage \