diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-25 14:52:47 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-25 14:52:47 +0100 |
commit | b2e5fc35ebc127e2a1ac03c7ff0719b1e6b6cd6b (patch) | |
tree | 21c86016df03253513c3bbe80fc7eef71b209d68 /include | |
parent | 18221506e5aeb9c279b73bc9418b60c75b10399a (diff) | |
download | busybox-w32-b2e5fc35ebc127e2a1ac03c7ff0719b1e6b6cd6b.tar.gz busybox-w32-b2e5fc35ebc127e2a1ac03c7ff0719b1e6b6cd6b.tar.bz2 busybox-w32-b2e5fc35ebc127e2a1ac03c7ff0719b1e6b6cd6b.zip |
ntpd: and real handling for -N, show usage w/o options; trim text
function old new delta
ntp_init 317 348 +31
bb_msg_you_must_be_root - 17 +17
xsocket 66 76 +10
changepath 195 194 -1
bb_msg_perm_denied_are_you_root 35 34 -1
send_tree 355 353 -2
count_lines 74 72 -2
must_be_root 17 - -17
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 2/4 up/down: 58/-23) Total: 35 bytes
text data bss dec hexfilename
832873 441 7548 840862 cd49ebusybox_old
832839 441 7548 840828 cd47cbusybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 | ||||
-rw-r--r-- | include/usage.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 1194f7eca..1f39c95e1 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1474,6 +1474,7 @@ extern const char bb_msg_write_error[]; | |||
1474 | extern const char bb_msg_unknown[]; | 1474 | extern const char bb_msg_unknown[]; |
1475 | extern const char bb_msg_can_not_create_raw_socket[]; | 1475 | extern const char bb_msg_can_not_create_raw_socket[]; |
1476 | extern const char bb_msg_perm_denied_are_you_root[]; | 1476 | extern const char bb_msg_perm_denied_are_you_root[]; |
1477 | extern const char bb_msg_you_must_be_root[]; | ||
1477 | extern const char bb_msg_requires_arg[]; | 1478 | extern const char bb_msg_requires_arg[]; |
1478 | extern const char bb_msg_invalid_arg[]; | 1479 | extern const char bb_msg_invalid_arg[]; |
1479 | extern const char bb_msg_standard_input[]; | 1480 | extern const char bb_msg_standard_input[]; |
diff --git a/include/usage.h b/include/usage.h index 461f5fca1..760e8545b 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3219,6 +3219,9 @@ | |||
3219 | "\n -n Do not daemonize" \ | 3219 | "\n -n Do not daemonize" \ |
3220 | "\n -g Set system time even if offset is > 1000 sec" \ | 3220 | "\n -g Set system time even if offset is > 1000 sec" \ |
3221 | "\n -q Quit after clock is set" \ | 3221 | "\n -q Quit after clock is set" \ |
3222 | /* -N exists for mostly compat reasons, thus Not essential to inform */ \ | ||
3223 | /* the user that it exists: user may use nice as well */ \ | ||
3224 | /* "\n -N Run at high priority" */ \ | ||
3222 | "\n -l Run as server on port 123" \ | 3225 | "\n -l Run as server on port 123" \ |
3223 | "\n -p PEER Obtain time from PEER (may be repeated)" \ | 3226 | "\n -p PEER Obtain time from PEER (may be repeated)" \ |
3224 | 3227 | ||