BUG with usage_compressed (?)
Bernhard Fischer
rep.nop at aon.at
Tue May 30 16:26:13 UTC 2006
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.
Options:
-S|--start start
-K|--stop stop
-a|--startas <pathname> starts process specified by pathname
-b|--background force process into background
-u|--user <username>|<uid> stop this user's processes
-x|--exec <executable> program to either start or check
-m|--make-pidfile <filename> create the -p file and enter pid in it
-n|--name <process-name> stop processes with this name
-p|--pidfile <pid-file> save or load pid using a pid-file
-q|--quiet be quiet
-s|--signal <signal> signal to send (default TERM)
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
This diff illustrates the settings which differ from defconfig:
--- .config 2006-05-30 18:09:39.000000000 +0200
+++ .config.huh 2006-05-30 18:07:54.000000000 +0200
@@ -591,11 +591,11 @@
#
# Shells
#
-# CONFIG_FEATURE_SH_IS_ASH is not set
+CONFIG_FEATURE_SH_IS_ASH=y
# CONFIG_FEATURE_SH_IS_HUSH is not set
# CONFIG_FEATURE_SH_IS_LASH is not set
# CONFIG_FEATURE_SH_IS_MSH is not set
-CONFIG_FEATURE_SH_IS_NONE=y
+# CONFIG_FEATURE_SH_IS_NONE is not set
CONFIG_ASH=y
#
Can someone look into this, please?
TIA,
Bernhard
More information about the busybox
mailing list