summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-08 22:33:02 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-08 22:33:02 +0200
commit89d8753c550b8f46e525bcab8ad0f9b016d89c49 (patch)
tree6965fc03686c9bd7d583501f5a2d173810baa7f0
parent22542eca18e5807b72ddc78999f5101e33f17a53 (diff)
ftpgetput: show only short options in --help text
function old new delta packed_usage 31687 31675 -12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/ftpgetput.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 2cce07ac2..e866a7754 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -39,37 +39,20 @@
//usage: "[OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE"
//usage:#define ftpget_full_usage "\n\n"
//usage: "Download a file via FTP\n"
-//usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS(
-//usage: "\n -c,--continue Continue previous transfer"
-//usage: "\n -v,--verbose Verbose"
-//usage: "\n -u,--username USER Username"
-//usage: "\n -p,--password PASS Password"
-//usage: "\n -P,--port NUM Port"
-//usage: )
-//usage: IF_NOT_FEATURE_FTPGETPUT_LONG_OPTIONS(
//usage: "\n -c Continue previous transfer"
//usage: "\n -v Verbose"
//usage: "\n -u USER Username"
//usage: "\n -p PASS Password"
//usage: "\n -P NUM Port"
-//usage: )
//usage:
//usage:#define ftpput_trivial_usage
//usage: "[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE"
//usage:#define ftpput_full_usage "\n\n"
//usage: "Upload a file to a FTP server\n"
-//usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS(
-//usage: "\n -v,--verbose Verbose"
-//usage: "\n -u,--username USER Username"
-//usage: "\n -p,--password PASS Password"
-//usage: "\n -P,--port NUM Port"
-//usage: )
-//usage: IF_NOT_FEATURE_FTPGETPUT_LONG_OPTIONS(
//usage: "\n -v Verbose"
//usage: "\n -u USER Username"
//usage: "\n -p PASS Password"
//usage: "\n -P NUM Port number"
-//usage: )
#include "libbb.h"
#include "common_bufsiz.h"