aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-18 01:13:11 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-18 01:13:11 +0000
commitd7e6af2dda0abdd7a0411af46314724bd5f88549 (patch)
treee77291fb6fcb2d93c9c6ec60e21ddfe8bea5dc64 /include/usage.h
parent78c565653005192c4587fce1ccac6c441cea7ca6 (diff)
downloadbusybox-d7e6af2dda0abdd7a0411af46314724bd5f88549.tar.gz
tftpd: make open() check r/w permissions instead of doing it ourself.
Add -r "prohibit upload" opt for those lazy people who run tftpd as root. -40 bytes.
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 1fa40ce98..7fe9ad063 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3977,9 +3977,11 @@
)
#define tftpd_trivial_usage \
- "[DIR]"
+ "[-r] [DIR]"
#define tftpd_full_usage \
- "Transfer a file on request from a tftp client" \
+ "Transfer a file on request from a tftp client.\n" \
+ "\nOptions:" \
+ "\n -r Prohibit upload" \
#define time_trivial_usage \
"[OPTION]... COMMAND [ARGS...]"