summaryrefslogtreecommitdiff
path: root/include/usage.src.h
diff options
context:
space:
mode:
authorLeonid Lisovskiy2010-10-20 22:36:51 +0200
committerDenys Vlasenko2010-10-20 22:36:51 +0200
commit894ef6003242bcb0b5ae4ba766475ed048b9f5ca (patch)
tree0f11cc56014ea193bb299ac356427a1c513c8d6a /include/usage.src.h
parent5d374e9b148b85954816e9f79e4be160ed3054bd (diff)
downloadbusybox-894ef6003242bcb0b5ae4ba766475ed048b9f5ca.zip
busybox-894ef6003242bcb0b5ae4ba766475ed048b9f5ca.tar.gz
ntpd: fix usage text and a typo in constant name
Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/usage.src.h')
-rw-r--r--include/usage.src.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.src.h b/include/usage.src.h
index b73ca4d..2445c1b 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -2788,7 +2788,7 @@ INSERT
"Address: 127.0.0.1\n"
#define ntpd_trivial_usage \
- "[-dnqwl] [-S PROG] [-p PEER]..."
+ "[-dnqNw"IF_FEATURE_NTPD_SERVER("l")"] [-S PROG] [-p PEER]..."
#define ntpd_full_usage "\n\n" \
"NTP client/server\n" \
"\nOptions:" \
@@ -2797,7 +2797,9 @@ INSERT
"\n -q Quit after clock is set" \
"\n -N Run at high priority" \
"\n -w Do not set time (only query peers), implies -n" \
+ IF_FEATURE_NTPD_SERVER( \
"\n -l Run as server on port 123" \
+ ) \
"\n -S PROG Run PROG after stepping time, stratum change, and every 11 mins" \
"\n -p PEER Obtain time from PEER (may be repeated)" \