[PATCH 2/6] mtdinfo: send help/version info to stdout
Artem Bityutskiy
dedekind1 at gmail.com
Tue Jun 7 02:36:49 EDT 2011
On Tue, 2011-06-07 at 02:19 -0400, Mike Frysinger wrote:
> Usage/version information should go to stdout when it is expected behavior
> (i.e. the user requested it explicitly). This info should go to stderr
> only when the usage info is being shown as a result of incorrect options.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
This is fine, but all other ubi utils need this change then as well. I
think this piece of code was copypasted in all ubi-utils, so you should
easily find it and change.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list