From 4221e90ae468acc4b6c43faa36aee5160d2738c6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 11 Mar 2009 15:07:44 +0000 Subject: 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 --- include/usage.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 @@ "\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 \ -- cgit v1.2.3