BUG with usage_compressed (?)

Rob Landley rob at landley.net
Tue May 30 20:29:21 UTC 2006


On Tuesday 30 May 2006 12:26 pm, Bernhard Fischer wrote:
> Houston...,
>
> The usage-messages are foobared (for me):
> This should print the helptext of sort, but it displays the one
> of start-stop-daemon:
>
> $ ./busybox sort -h
> sort: invalid option -- h
> BusyBox v1.2.0-pre0 (2006.05.30-16:12+0000) multi-call binary
>
> Usage: sort [OPTIONS] [--start|--stop] ... [-- arguments...]
>
> Program to start and stop services.

I get sort.  Just checked.  What's your .config?

> If i turn off USAGE_COMPRESSED, then all is well again.
> Steps to reproduce:
> make distclean defconfig menuconfig <enable CONFIG_FEATURE_SH_IS_ASH>
> make busybox;./busybox sort -h

I just did all that:

landley at driftwood:~/busybox/busybox$ ./busybox sort -h
sort: invalid option -- h
BusyBox v1.2.0-pre0 (2006.05.30-20:25+0000) multi-call binary

Usage: sort [-nrugMcszbdfimSTokt] [-o outfile] [-k start[.offset][opts]
[,end[.offset][opts]] [-t char] [FILE]...

Sorts lines of text in the specified files

> Can someone look into this, please?

It's not reproducing here.  What's your build environment?

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list