[PATCH 2/2] nanddump: sort options in help message alphabetically by shortname

Brian Norris computersforpeace at gmail.com
Fri Jun 3 14:25:01 EDT 2011


Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 nanddump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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"
-- 
1.7.0.4





More information about the linux-mtd mailing list