repost: [PATCH] add -q option to sysctl applet

Denys Vlasenko vda.linux at googlemail.com
Tue Sep 4 08:13:38 UTC 2012


On Sun, Sep 2, 2012 at 7:42 PM, Joshua Kahlenberg <jbkberg at gmail.com> wrote:
> Sorry, previous patch was wrapped

And this version is mangled too:

> Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"

Flowed format causes all kinds of PITA.

Please resend as attachment.

>  //usage:       "sysctl [-n] [-e] -A\n"
> +//usage:       "sysctl [-n] [-e] -q\n"

No, -q is not used like this. Add "[-q]"
to those lines where it makes sense.

> +               if (!(option_mask32 & FLAG_QUIET))
>                 puts(value);

puts() should get one additional tab of indentation.

-- 
vda


More information about the busybox mailing list