diff options
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 bd2053039..5d8e7bb68 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 d3c1e5072..3b519e65d 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 \ |