[coreboot-gerrit] New patch to review for coreboot: cbfstool: Re-align help text

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Fri Dec 4 19:27:29 CET 2015


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12646

-gerrit

commit 9999b76a6fc7b1741b2716916a6fb1a2b6e7e822
Author: Martin Roth <martinroth at google.com>
Date:   Fri Dec 4 11:27:11 2015 -0700

    cbfstool: Re-align help text
    
    The help text had gotten kind of sloppy. There was a missing newline
    in the add-stage command, some of the lines were too long, etc.
    
    Change-Id: If7bdc519ae062fb4ac6fc67e6b55af1e80eabe33
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 util/cbfstool/cbfstool.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index fb4c8b5..7f05f71 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -1053,16 +1053,16 @@ static void usage(char *name)
 	     "        [-c compression] [-b base-address | -a alignment]    "
 			"Add a component\n"
 	     " add-payload [-r image,regions] -f FILE -n NAME [-A hash] \\\n"
-	     "        [-c compression] [-b base-address]                   "
+	     "        [-c compression] [-b base-address] \\\n"
+	     "        (linux specific: [-C cmdline] [-I initrd])           "
 			"Add a payload to the ROM\n"
-	     "        (linux specific: [-C cmdline] [-I initrd])\n"
 	     " add-stage [-r image,regions] -f FILE -n NAME [-A hash] \\\n"
-	     "        [-c compression] [-b base] [-S section-to-ignore]    "
-	     "        [-a alignment] [-y|--xip] [-P page-size]"
+	     "        [-c compression] [-b base] [-S section-to-ignore] \\\n"
+	     "        [-a alignment] [-y|--xip] [-P page-size]             "
 			"Add a stage to the ROM\n"
-	     " add-flat-binary [-r image,regions] -f FILE -n NAME [-A hash] \\\n"
-	     "        -l load-address -e entry-point [-c compression] \\\n"
-	     "        [-b base]                                            "
+	     " add-flat-binary [-r image,regions] -f FILE -n NAME \\\n"
+	     "        [-A hash] -l load-address -e entry-point \\\n"
+	     "        [-c compression] [-b base]                           "
 			"Add a 32bit flat mode binary\n"
 	     " add-int [-r image,regions] -i INTEGER -n NAME [-b base]     "
 			"Add a raw 64-bit integer value\n"
@@ -1092,7 +1092,7 @@ static void usage(char *name)
 	     " read [-r fmap-region] -f file                               "
 			"Extract raw region contents into binary file\n"
 	     " update-fit [-r image,regions] -n MICROCODE_BLOB_NAME \\\n"
-	     "          -x EMTPY_FIT_ENTRIES                               "
+	     "        -x EMTPY_FIT_ENTRIES                                 "
 			"Updates the FIT table with microcode entries\n"
 	     "\n"
 	     "OFFSETs:\n"



More information about the coreboot-gerrit mailing list