diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-19 13:07:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-19 13:07:00 +0000 |
commit | 403a5a298eaa5d1d827ad6ebbf38a7b765ba5b44 (patch) | |
tree | 6a31deaf0444b2e375a03db0a66c0d14d61e97c9 /include | |
parent | 71c9f015e9d83910ea3ae127944ef5d900c5a582 (diff) | |
download | busybox-w32-403a5a298eaa5d1d827ad6ebbf38a7b765ba5b44.tar.gz busybox-w32-403a5a298eaa5d1d827ad6ebbf38a7b765ba5b44.tar.bz2 busybox-w32-403a5a298eaa5d1d827ad6ebbf38a7b765ba5b44.zip |
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.h | 6 |
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 @@ | |||
3977 | ) | 3977 | ) |
3978 | 3978 | ||
3979 | #define tftpd_trivial_usage \ | 3979 | #define tftpd_trivial_usage \ |
3980 | "[-r] [DIR]" | 3980 | "[-cr] [-u USER] [DIR]" |
3981 | #define tftpd_full_usage \ | 3981 | #define tftpd_full_usage \ |
3982 | "Transfer a file on request from a tftp client.\n" \ | 3982 | "Transfer a file on tftp client's request.\n" \ |
3983 | "\nOptions:" \ | 3983 | "\nOptions:" \ |
3984 | "\n -r Prohibit upload" \ | 3984 | "\n -r Prohibit upload" \ |
3985 | "\n -c Allow file creation via upload" \ | ||
3986 | "\n -u Access files as USER" \ | ||
3985 | 3987 | ||
3986 | #define time_trivial_usage \ | 3988 | #define time_trivial_usage \ |
3987 | "[OPTION]... COMMAND [ARGS...]" | 3989 | "[OPTION]... COMMAND [ARGS...]" |