summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-23 16:27:16 +0100
committerDenys Vlasenko2009-11-23 16:27:16 +0100
commit8d580c72f4eaf5bb6cfec21ef473723c74c3382d (patch)
tree12ce4f7273ff993981549d1a0b7450b20878a1e2 /include
parent74f8e7810bbe61bdeffd1dea6adb08426f479705 (diff)
downloadbusybox-8d580c72f4eaf5bb6cfec21ef473723c74c3382d.zip
busybox-8d580c72f4eaf5bb6cfec21ef473723c74c3382d.tar.gz
ntpd: add -q option. By Adam Tkac.
function old new delta settime 347 375 +28 packed_usage 26681 26693 +12 ntpd_main 3282 3251 -31 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 40/-31) Total: 9 bytes 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 48cb8df..461f5fc 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3211,13 +3211,14 @@
"Address: 127.0.0.1\n"
#define ntpd_trivial_usage \
- "[-dngl] [-p PEER]..."
+ "[-dngql] [-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 -q Quit after clock is set" \
"\n -l Run as server on port 123" \
"\n -p PEER Obtain time from PEER (may be repeated)" \