summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2010-02-07 02:45:03 +0100
committerDenys Vlasenko2010-02-07 02:45:03 +0100
commit343dfd7abe44a32b329379ec9039f2560543518d (patch)
tree3c222f19d6a278397450d3d7c58f4f9580ec1be8 /include
parente66a09ba9c167b210694cf940648757868a3f994 (diff)
downloadbusybox-343dfd7abe44a32b329379ec9039f2560543518d.zip
busybox-343dfd7abe44a32b329379ec9039f2560543518d.tar.gz
dnsd: add -s option. This allows (clumsy) operation with read dns servers
function old new delta packed_usage 26816 26886 +70 dnsd_main 1299 1303 +4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 109a35d..c2ffb6d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -893,7 +893,7 @@
"\n -s SIZE Buffer size" \
#define dnsd_trivial_usage \
- "[-c CONFFILE] [-t TTL_SEC] [-p PORT] [-i ADDR] [-d]"
+ "[-dvs] [-c CONFFILE] [-t TTL_SEC] [-p PORT] [-i ADDR]"
#define dnsd_full_usage "\n\n" \
"Small static DNS server daemon\n" \
"\nOptions:" \
@@ -902,6 +902,11 @@
"\n -p PORT Listen on PORT" \
"\n -i ADDR Listen on ADDR" \
"\n -d Daemonize" \
+ "\n -v Verbose" \
+ "\n -s Send successful replies only. Use this if you want" \
+ "\n to use /etc/resolv.conf with two nameserver lines:" \
+ "\n nameserver DNSD_SERVER" \
+ "\n nameserver NORNAL_DNS_SERVER" \
#define dos2unix_trivial_usage \
"[OPTIONS] [FILE]"