aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-19 13:07:00 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-19 13:07:00 +0000
commit403a5a298eaa5d1d827ad6ebbf38a7b765ba5b44 (patch)
tree6a31deaf0444b2e375a03db0a66c0d14d61e97c9 /include
parent71c9f015e9d83910ea3ae127944ef5d900c5a582 (diff)
downloadbusybox-403a5a298eaa5d1d827ad6ebbf38a7b765ba5b44.tar.gz
tftpd: options -c (allow _new_ files to be uploaded) and -u USER
function old new delta tftp_protocol 1316 1466 +150 packed_usage 23774 23798 +24 tftpd_main 509 502 -7 tftp_main 311 252 -59 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 174/-66) Total: 108 bytes text data bss dec hex filename 797700 641 7380 805721 c4b59 busybox_old 797833 641 7380 805854 c4bde busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r--include/usage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 7fe9ad063..ad9009763 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3977,11 +3977,13 @@
)
#define tftpd_trivial_usage \
- "[-r] [DIR]"
+ "[-cr] [-u USER] [DIR]"
#define tftpd_full_usage \
- "Transfer a file on request from a tftp client.\n" \
+ "Transfer a file on tftp client's request.\n" \
"\nOptions:" \
"\n -r Prohibit upload" \
+ "\n -c Allow file creation via upload" \
+ "\n -u Access files as USER" \
#define time_trivial_usage \
"[OPTION]... COMMAND [ARGS...]"