diff options
author | Glenn L McGrath | 2002-12-13 02:43:50 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-12-13 02:43:50 +0000 |
commit | 02d7cbfe92a94d51d2c9b11bab3dc6fe2cec7e89 (patch) | |
tree | 0f360f59ce41caaef1c123a69b3a88aa14c3e6e2 /include | |
parent | f03c933e473760cb3776aee8283ecb3e4bddf097 (diff) | |
download | busybox-02d7cbfe92a94d51d2c9b11bab3dc6fe2cec7e89.zip busybox-02d7cbfe92a94d51d2c9b11bab3dc6fe2cec7e89.tar.gz |
New applets, ftpget and ftpput
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 6 | ||||
-rw-r--r-- | include/usage.h | 21 |
2 files changed, 27 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index bd20530..5d8e7bb 100644 --- a/include/applets.h +++ b/include/applets.h @@ -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 diff --git a/include/usage.h b/include/usage.h index d3c1e50..3b519e6 100644 --- a/include/usage.h +++ b/include/usage.h @@ -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 \ |