aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h11
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index c6f54e157..1fb279ffa 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -164,6 +164,9 @@
164#ifdef CONFIG_DMESG 164#ifdef CONFIG_DMESG
165 APPLET(dmesg, dmesg_main, _BB_DIR_BIN, _BB_SUID_NEVER) 165 APPLET(dmesg, dmesg_main, _BB_DIR_BIN, _BB_SUID_NEVER)
166#endif 166#endif
167#ifdef CONFIG_DNSD
168 APPLET(dnsd, dnsd_main, _BB_DIR_USR_SBIN, _BB_SUID_ALWAYS)
169#endif
167#ifdef CONFIG_DOS2UNIX 170#ifdef CONFIG_DOS2UNIX
168 APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 171 APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
169#endif 172#endif
diff --git a/include/usage.h b/include/usage.h
index bff187a3d..61fc3af3c 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -469,6 +469,17 @@
469 "\t-n LEVEL\tSets console logging level\n" \ 469 "\t-n LEVEL\tSets console logging level\n" \
470 "\t-s SIZE\t\tUse a buffer of size SIZE" 470 "\t-s SIZE\t\tUse a buffer of size SIZE"
471 471
472#define dnsd_trivial_usage \
473 "[-c config] [-t seconds] [-p port] [-i iface-ip] [-d]"
474#define dnsd_full_usage \
475 "Small and static DNS server daemon\n\n" \
476 "Options:\n" \
477 "\t-c\t\tconfig filename\n" \
478 "\t-t\t\tTTL in seconds\n" \
479 "\t-p\t\tlistening port\n" \
480 "\t-i\t\tlistening iface ip (default all)\n" \
481 "\t-d\t\tdaemonize"
482
472#define dos2unix_trivial_usage \ 483#define dos2unix_trivial_usage \
473 "[option] [FILE]" 484 "[option] [FILE]"
474#define dos2unix_full_usage \ 485#define dos2unix_full_usage \