diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /networking/ntpd.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ntpd.c')
-rw-r--r-- | networking/ntpd.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c index ba2950d8f..e27dbaa6b 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c | |||
@@ -27,6 +27,23 @@ | |||
27 | * * | 27 | * * |
28 | *********************************************************************** | 28 | *********************************************************************** |
29 | */ | 29 | */ |
30 | |||
31 | //usage:#define ntpd_trivial_usage | ||
32 | //usage: "[-dnqNw"IF_FEATURE_NTPD_SERVER("l")"] [-S PROG] [-p PEER]..." | ||
33 | //usage:#define ntpd_full_usage "\n\n" | ||
34 | //usage: "NTP client/server\n" | ||
35 | //usage: "\nOptions:" | ||
36 | //usage: "\n -d Verbose" | ||
37 | //usage: "\n -n Do not daemonize" | ||
38 | //usage: "\n -q Quit after clock is set" | ||
39 | //usage: "\n -N Run at high priority" | ||
40 | //usage: "\n -w Do not set time (only query peers), implies -n" | ||
41 | //usage: IF_FEATURE_NTPD_SERVER( | ||
42 | //usage: "\n -l Run as server on port 123" | ||
43 | //usage: ) | ||
44 | //usage: "\n -S PROG Run PROG after stepping time, stratum change, and every 11 mins" | ||
45 | //usage: "\n -p PEER Obtain time from PEER (may be repeated)" | ||
46 | |||
30 | #include "libbb.h" | 47 | #include "libbb.h" |
31 | #include <math.h> | 48 | #include <math.h> |
32 | #include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */ | 49 | #include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */ |