[LinuxBIOS] [PATCH] Flashrom: "Fix" help output

Bernhard Walle bernhard.walle at gmx.de
Thu Jan 10 23:18:57 CET 2008


This patch removes '\n' from the help output since this looks a bit strange:

-----------------------------------------------------------------------------
...
   -i | --image <name>:            only flash image name from flash layout

 If no file is specified, then all that happens
 is that flash info is dumped.
-----------------------------------------------------------------------------

After the patch:

-----------------------------------------------------------------------------
...
   -i | --image <name>:            only flash image name from flash layout

 If no file is specified, then all that happens is that flash info is dumped.
-----------------------------------------------------------------------------

The line length is still below 80 characters.


Signed-off-by: Bernhard Walle <bernhard.walle at gmx.de>

---
 flashrom.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/flashrom.c
+++ b/flashrom.c
@@ -206,7 +206,7 @@ void usage(const char *name)
 	     "   -f | --force:                   force write without checking image\n"
 	     "   -l | --layout <file.layout>:    read rom layout from file\n"
 	     "   -i | --image <name>:            only flash image name from flash layout\n"
-	     "\n" " If no file is specified, then all that happens\n"
+	     "\n" " If no file is specified, then all that happens"
 	     " is that flash info is dumped.\n\n");
 	exit(1);
 }




More information about the coreboot mailing list