[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [BusyBox] nousage functioning
From: "Vladimir N. Oleynik" <dzo () simtreas ! ru>
Date: 2002-08-16 3:53:07
[Download RAW message or body]
Hi.
My gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
reduced with -Os "\0" string to nothing and
if I use NOUSAGE utils, usage messgages all broken:
$ ./busybox --help kill
BusyBox v0.61.pre (2002.07.07-12:10+0000) multi-call binary
Usage: kill [-signal] process-id [process-id ...]
Send a signal (default is SIGTERM) to the specified process(es).
Options:
-l List all signal names and numbers.
$ ./busybox --help ln
BusyBox v0.61.pre (2002.07.07-12:10+0000) multi-call binary
No help available.
$ ./busybox --help ls
BusyBox v0.61.pre (2002.07.07-12:10+0000) multi-call binary
Usage: ls [OPTION]... LOOPDEVICE FILE
or: losetup [OPTION]... -d LOOPDEVICE
Associate LOOPDEVICE with FILE.
Options:
-d Disassociate LOOPDEVICE.
-o OFFSET Start OFFSET bytes into FILE.
;))
This result if I activate CONFIG_FEATURE_INITRD (part applet.h):
#ifdef CONFIG_KILL
APPLET(kill, kill_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
#ifdef CONFIG_FEATURE_INITRD
APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT, _BB_SUID_NEVER)
#endif
#ifdef CONFIG_LN
APPLET(ln, ln_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
Have you this effects? Or I use very old compiler? ;)
--w
vodz
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic