[PATCH] store --help messages in compressed form. saves 35k

Rob Landley rob at landley.net
Sat Apr 8 01:54:21 UTC 2006


On Friday 07 April 2006 1:57 am, Tito wrote:
> On Friday 7 April 2006 07:42, Rich Felker wrote:
> > On Fri, Apr 07, 2006 at 08:08:17AM +0300, Denis Vlasenko wrote:
> > > > I have to ask how much of a win is compressing busybox help text?
> > >
> > > On current allyesconfigured bbox it saves ~35k
> > >
> > > > Certainly in the case of flash use, you're likely already using some
> > > > type of compressed filesystem.  Maybe if you're doing XIP...  But
> > > > then you're likely tight enough on ram that you wouldn't bother with
> > > > the help text.
> > >
> > > Right, memory-constrained setups won't select verbose --help support.
> >
> > I'd like to have an option to remove all --help support, not just
> > verbose. Don't think this exists yet unless it was added recently or
> > I'm just blind.. If I really need to know usage info I can RTFM.
>
>  [ ] Show terse applet usage messages
>  [ ] Show verbose applet usage messages

Actually I could see "Show applet usage messages" with "Show verbose usage 
messages" as a sub-option under it.  Or I could see a selector with three 
states.  But the two on the same level is confusing.

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list