diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-04 00:19:13 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-04 00:19:13 +0100 |
commit | 4168fdd8e6f5ad4d41a30a2350dbd635cc0fa6e1 (patch) | |
tree | 43c1ae5aa9fd90f8500319d01a98a87cad4b3fa1 /include | |
parent | d6459685c1a93785d0bdf94e16834a6d4c54842f (diff) | |
download | busybox-w32-4168fdd8e6f5ad4d41a30a2350dbd635cc0fa6e1.tar.gz busybox-w32-4168fdd8e6f5ad4d41a30a2350dbd635cc0fa6e1.tar.bz2 busybox-w32-4168fdd8e6f5ad4d41a30a2350dbd635cc0fa6e1.zip |
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.h | 3 |
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 @@ | |||
3223 | "Address: 127.0.0.1\n" | 3223 | "Address: 127.0.0.1\n" |
3224 | 3224 | ||
3225 | #define ntpd_trivial_usage \ | 3225 | #define ntpd_trivial_usage \ |
3226 | "[-dngql] [-p PEER]..." | 3226 | "[-dnqwl] [-p PEER]..." |
3227 | #define ntpd_full_usage "\n\n" \ | 3227 | #define ntpd_full_usage "\n\n" \ |
3228 | "NTP client/server\n" \ | 3228 | "NTP client/server\n" \ |
3229 | "\nOptions:" \ | 3229 | "\nOptions:" \ |
@@ -3233,6 +3233,7 @@ | |||
3233 | /* -N exists for mostly compat reasons, thus not essential to inform */ \ | 3233 | /* -N exists for mostly compat reasons, thus not essential to inform */ \ |
3234 | /* the user that it exists: user may use nice as well */ \ | 3234 | /* the user that it exists: user may use nice as well */ \ |
3235 | /* "\n -N Run at high priority" */ \ | 3235 | /* "\n -N Run at high priority" */ \ |
3236 | "\n -w Do not set time (used to look at peer data)" \ | ||
3236 | "\n -l Run as server on port 123" \ | 3237 | "\n -l Run as server on port 123" \ |
3237 | "\n -p PEER Obtain time from PEER (may be repeated)" \ | 3238 | "\n -p PEER Obtain time from PEER (may be repeated)" \ |
3238 | 3239 | ||