summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2009-03-11 15:07:44 +0000
committerDenis Vlasenko2009-03-11 15:07:44 +0000
commit4221e90ae468acc4b6c43faa36aee5160d2738c6 (patch)
treef9a100c67f7aff66cd948d6e85fa8bca6ac684ff /include
parenta19e64933c600b7f05232ad80bb5db85c115e42d (diff)
downloadbusybox-4221e90ae468acc4b6c43faa36aee5160d2738c6.zip
busybox-4221e90ae468acc4b6c43faa36aee5160d2738c6.tar.gz
ftpd: stop unconditional logging to syslog. This was the only applet
which was doing it. Added option -S to enable it when desired. function old new delta packed_usage 25647 25666 +19 ftpd_main 1826 1825 -1
Diffstat (limited to 'include')
-rw-r--r--include/usage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index b19803d..e945840 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1281,7 +1281,7 @@
"\n -f Force file system check" \
#define ftpd_trivial_usage \
- "[-vw] [DIR]"
+ "[-wvS] [DIR]"
#define ftpd_full_usage "\n\n" \
"FTP server\n" \
"\n" \
@@ -1291,8 +1291,9 @@
"It also can be ran from tcpsvd:\n" \
" tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n" \
"\nOptions:" \
- "\n -v Log also to stderr" \
"\n -w Allow upload" \
+ "\n -v Log to stderr" \
+ "\n -S Log to syslog" \
"\n DIR Change root to this directory" \
#define ftpget_trivial_usage \