[PATCH] jffs2dump: rewrite --help output to be more suitable for help2man

Artem Bityutskiy dedekind1 at gmail.com
Sun Aug 9 03:01:39 EDT 2009


On 07/28/2009 12:05 AM, Timo Lindfors wrote:
> From: Timo Juhani Lindfors<timo.lindfors at iki.fi>
>
> $ help2man /usr/sbin/jffs2dump | man /dev/stdin
>
> currently creates badly formatted output like
>
> -b          --bigendian                 image is big endian
> -l          --littleendian              image   is   little
> endian  -c          --content                   dump  image
> contents  -e  fname    --endianconvert=fname        convert
> image endianness, output to file fname -r         --recalc-
>
> This patch modifies the --help output for jffs2dump to be more
> suitable for help2man and thus makes it possible to easily create
> manual pages that stay up-to-date.
>
> Signed-off-by: Timo Juhani Lindfors<timo.lindfors at iki.fi>

Looks good to me. Pushed to the mtd-utils git tree, thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)



More information about the linux-mtd mailing list