diff options
author | Ron Yorston <rmy@pobox.com> | 2024-04-09 09:51:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2024-09-27 19:52:25 +0200 |
commit | dbd14c4a42454b61a5474f6243865a6ec113e60b (patch) | |
tree | cbc5ed7b93192e30fb11424e4b36680f32c1533e /arch | |
parent | 2c232f1e60fc42230c4e14bc7c548ac0e6593173 (diff) | |
download | busybox-w32-dbd14c4a42454b61a5474f6243865a6ec113e60b.tar.gz busybox-w32-dbd14c4a42454b61a5474f6243865a6ec113e60b.tar.bz2 busybox-w32-dbd14c4a42454b61a5474f6243865a6ec113e60b.zip |
libbb: send usage messages to correct stream
POSIX generally requires normal output to go to stdout and
diagnostic (i.e. error) output to go to stderr.
When usage messages for BusyBox applets are specifically requested
by the user (e.g. 'find --help') they should go to stdout; when
they're emitted due to an error they should go to stderr.
function old new delta
bb_show_usage 148 146 -2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-2) Total: -2 bytes
Signed-off-by: Avi Halachmi <avihpit@yahoo.com>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions