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
This commit is contained in:
Denis Vlasenko
2008-03-19 13:07:00 +00:00
parent 71c9f015e9
commit 403a5a298e
2 changed files with 88 additions and 65 deletions

View File

@ -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...]"