Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
This commit is contained in:
ChangelogMakefile
applets
archival
busybox.cbusybox.def.hconsole-tools
coreutils
cut.chead.cid.clength.cln.clogname.cls.cmkdir.cmkfifo.cmknod.cprintf.cpwd.crm.crmdir.csleep.csort.csync.ctail.ctee.ctest.ctouch.ctty.cuniq.cusleep.cwc.cwhoami.cyes.c
cut.cdocs
editors
fbset.cfdflush.cfind.cfindutils
free.cfreeramdisk.cfsck_minix.cgrep.cgunzip.cgzip.chead.chostname.cid.cinsmod.cinternal.hkill.clash.clength.cln.cloadacm.cloadfont.cloadkmap.clogger.clogname.cls.cmakedevs.cmath.cmessages.cmiscutils
mkdir.cmkfifo.cmkfs_minix.cmknod.cmkswap.cmodutils
more.cmount.cmt.cnc.cnetworking
nslookup.cping.cprintf.cprocps
ps.cpwd.crm.crmdir.crmmod.csed.csfdisk.csh.cshell
sleep.csort.cswaponoff.csync.csysklogd
syslogd.ctail.ctar.ctee.ctelnet.ctest.ctouch.ctty.cumount.cuniq.cupdate.cusleep.cutil-linux
utility.cwc.cwhoami.cyes.c
9
logger.c
9
logger.c
@ -48,14 +48,17 @@ extern CODE facilitynames[];
|
||||
#endif
|
||||
|
||||
static const char logger_usage[] =
|
||||
"logger [OPTION]... [MESSAGE]\n\n"
|
||||
"Write MESSAGE to the system log. If MESSAGE is '-', log stdin.\n\n"
|
||||
"logger [OPTION]... [MESSAGE]\n"
|
||||
#ifndef BB_FEATURE_TRIVIAL_HELP
|
||||
"\nWrite MESSAGE to the system log. If MESSAGE is '-', log stdin.\n\n"
|
||||
"Options:\n"
|
||||
"\t-s\tLog to stderr as well as the system log.\n"
|
||||
"\t-t\tLog using the specified tag (defaults to user name).\n"
|
||||
|
||||
"\t-p\tEnter the message with the specified priority.\n"
|
||||
"\t\tThis may be numerical or a ``facility.level'' pair.\n";
|
||||
"\t\tThis may be numerical or a ``facility.level'' pair.\n"
|
||||
#endif
|
||||
;
|
||||
|
||||
|
||||
/* Decode a symbolic name to a numeric value
|
||||
|
Reference in New Issue
Block a user