diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-11 15:07:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-11 15:07:44 +0000 |
commit | 4221e90ae468acc4b6c43faa36aee5160d2738c6 (patch) | |
tree | f9a100c67f7aff66cd948d6e85fa8bca6ac684ff /include | |
parent | a19e64933c600b7f05232ad80bb5db85c115e42d (diff) | |
download | busybox-w32-4221e90ae468acc4b6c43faa36aee5160d2738c6.tar.gz busybox-w32-4221e90ae468acc4b6c43faa36aee5160d2738c6.tar.bz2 busybox-w32-4221e90ae468acc4b6c43faa36aee5160d2738c6.zip |
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.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index b19803dfa..e945840b8 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1281,7 +1281,7 @@ | |||
1281 | "\n -f Force file system check" \ | 1281 | "\n -f Force file system check" \ |
1282 | 1282 | ||
1283 | #define ftpd_trivial_usage \ | 1283 | #define ftpd_trivial_usage \ |
1284 | "[-vw] [DIR]" | 1284 | "[-wvS] [DIR]" |
1285 | #define ftpd_full_usage "\n\n" \ | 1285 | #define ftpd_full_usage "\n\n" \ |
1286 | "FTP server\n" \ | 1286 | "FTP server\n" \ |
1287 | "\n" \ | 1287 | "\n" \ |
@@ -1291,8 +1291,9 @@ | |||
1291 | "It also can be ran from tcpsvd:\n" \ | 1291 | "It also can be ran from tcpsvd:\n" \ |
1292 | " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n" \ | 1292 | " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n" \ |
1293 | "\nOptions:" \ | 1293 | "\nOptions:" \ |
1294 | "\n -v Log also to stderr" \ | ||
1295 | "\n -w Allow upload" \ | 1294 | "\n -w Allow upload" \ |
1295 | "\n -v Log to stderr" \ | ||
1296 | "\n -S Log to syslog" \ | ||
1296 | "\n DIR Change root to this directory" \ | 1297 | "\n DIR Change root to this directory" \ |
1297 | 1298 | ||
1298 | #define ftpget_trivial_usage \ | 1299 | #define ftpget_trivial_usage \ |