From: Brian Norris Date: Fri, 3 Jun 2011 18:25:01 +0000 (-0700) Subject: nanddump: sort options in help message alphabetically by shortname X-Git-Tag: v1.4.5~28 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=21fd84ba4d580b47e15e8e5e13e1e9cb47481e44;p=mtd-utils.git nanddump: sort options in help message alphabetically by shortname Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy --- diff --git a/nanddump.c b/nanddump.c index 78ea22e..c9d7e8b 100644 --- a/nanddump.c +++ b/nanddump.c @@ -48,6 +48,7 @@ static void display_help(void) " --help Display this help and exit\n" " --version Output version information and exit\n" "-a --forcebinary Force printing of binary data to tty\n" +"-b --omitbad Omit bad blocks from the dump\n" "-c --canonicalprint Print canonical Hex+ASCII dump\n" "-f file --file=file Dump to file\n" "-k --skipbad Skip over bad blocks (see below)\n" @@ -55,7 +56,6 @@ static void display_help(void) "-n --noecc Read without error correction\n" "-N --noskipbad Read without bad block skipping\n" "-o --omitoob Omit oob data\n" -"-b --omitbad Omit bad blocks from the dump\n" "-p --prettyprint Print nice (hexdump)\n" "-q --quiet Don't display progress and status messages\n" "-s addr --startaddress=addr Start address\n"