aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorAdam Tkac <vonsch@gmail.com>2009-11-22 03:43:55 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-22 03:43:55 +0100
commitb1585064fdac138b3bd14c2b64f64c67ec08b654 (patch)
treeb632b12a9aea4953751bb1569bf9290db42c5c4d /include/usage.h
parentd095fd4d95fd6241847f01e4fd674bc177310c33 (diff)
downloadbusybox-b1585064fdac138b3bd14c2b64f64c67ec08b654.tar.gz
ntpd: new applet by Adam Tkac. +5k.
Signed-off-by: Adam Tkac <vonsch@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index eae9650ca..3ccf160bd 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3210,6 +3210,17 @@
"Name: debian\n" \
"Address: 127.0.0.1\n"
+#define ntpd_trivial_usage \
+ "[-dngl] [-p PEER]..."
+#define ntpd_full_usage "\n\n" \
+ "NTP client/server\n" \
+ "\nOptions:" \
+ "\n -d Verbose" \
+ "\n -n Do not daemonize" \
+ "\n -g Set system time even if offset is > 1000 sec" \
+ "\n -l Run as server on port 123" \
+ "\n -p PEER Obtain time from PEER (may be repeated)" \
+
#define od_trivial_usage \
"[-aBbcDdeFfHhIiLlOovXx] " IF_DESKTOP("[-t TYPE] ") "[FILE]"
#define od_full_usage "\n\n" \