aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-04 00:19:13 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-04 00:19:13 +0100
commit4168fdd8e6f5ad4d41a30a2350dbd635cc0fa6e1 (patch)
tree43c1ae5aa9fd90f8500319d01a98a87cad4b3fa1 /include
parentd6459685c1a93785d0bdf94e16834a6d4c54842f (diff)
downloadbusybox-4168fdd8e6f5ad4d41a30a2350dbd635cc0fa6e1.tar.gz
ntpd: add -w "watch" option, useful for debugging to look at our own data
Also fixed a small buglet discovered using -w function old new delta recv_and_process_peer_pkt 895 944 +49 select_and_cluster 1132 1150 +18 packed_usage 26769 26767 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 9f4c44891..5a2524112 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3223,7 +3223,7 @@
"Address: 127.0.0.1\n"
#define ntpd_trivial_usage \
- "[-dngql] [-p PEER]..."
+ "[-dnqwl] [-p PEER]..."
#define ntpd_full_usage "\n\n" \
"NTP client/server\n" \
"\nOptions:" \
@@ -3233,6 +3233,7 @@
/* -N exists for mostly compat reasons, thus not essential to inform */ \
/* the user that it exists: user may use nice as well */ \
/* "\n -N Run at high priority" */ \
+ "\n -w Do not set time (used to look at peer data)" \
"\n -l Run as server on port 123" \
"\n -p PEER Obtain time from PEER (may be repeated)" \