[coreboot-gerrit] New patch to review for coreboot: util/abuild: Clean up usage

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Mon Dec 5 19:38:27 CET 2016


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

-gerrit

commit 97f27d017c01699a51d1a808fef5b8069aeb9502
Author: Martin Roth <martinroth at google.com>
Date:   Mon Dec 5 09:15:33 2016 -0700

    util/abuild: Clean up usage
    
    - Indent with spaces for consistency
    - Change lbroot to cbroot
    - Remove incomplete list of options from usage line
    - Capitalize first word of all option text
    
    Change-Id: Id5bd4db8d7e3705cbbb93895a46a3608cd1b09e2
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 util/abuild/abuild | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/util/abuild/abuild b/util/abuild/abuild
index 85d445b..f1b5820 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -477,42 +477,42 @@ function remove_target
 function myhelp
 {
 cat << __END_OF_HELP
-Usage: $0 [-v] [-a] [-b] [-r] [-t <vendor/board>] [-p <dir>] [lbroot]
+Usage: $0 [options] [cbroot]
        $0 [-V|--version]
        $0 [-h|--help]
 
 Options:\n"
-    [-v|--verbose]		  print more messages
-    [-q|--quiet]		  print fewer messages
-    [-a|--all]			  build previously succeeded ports as well
-    [-r|--remove]                 remove output dir after build
-    [-d|--dir <dir>]              directory containing config files
-    [-t|--target <vendor/board>]  attempt to build target vendor/board only
-    [-p|--payloads <dir>]         use payloads in <dir> to build images
-    [-V|--version]		  print version number and exit
-    [-h|--help]			  print this help and exit
-    [-J|--junit]		  write JUnit formatted xml log file
+    [-v|--verbose]                Print more messages
+    [-q|--quiet]                  Print fewer messages
+    [-a|--all]                    Build previously succeeded ports as well
+    [-r|--remove]                 Remove output dir after build
+    [-d|--dir <dir>]              Directory containing config files
+    [-t|--target <vendor/board>]  Attempt to build target vendor/board only
+    [-p|--payloads <dir>]         Use payloads in <dir> to build images
+    [-V|--version]                Print version number and exit
+    [-h|--help]                   Print this help and exit
+    [-J|--junit]                  Write JUnit formatted xml log file
                                   (defaults to $XMLFILE)
-    [-T|--test]			  submit image(s) to automated test system
-    [-c|--cpus <numcpus>]         build on <numcpus> at the same time
-    [-s|--silent]                 omit compiler calls in logs
-    [-y|--ccache]                 use ccache
-    [-C|--config]                 configure-only mode
-    [-l|--loglevel <num>]         set loglevel
-    [-u|--update]                 update existing image
-    [-P|--prefix <name>]          file name prefix in CBFS
+    [-T|--test]                   Submit image(s) to automated test system
+    [-c|--cpus <numcpus>]         Build on <numcpus> at the same time
+    [-s|--silent]                 Omit compiler calls in logs
+    [-y|--ccache]                 Use ccache
+    [-C|--config]                 Configure-only mode
+    [-l|--loglevel <num>]         Set loglevel
+    [-u|--update]                 Update existing image
+    [-P|--prefix <name>]          File name prefix in CBFS
     [-B|--blobs]                  Allow using binary files
     [-z|--clean]                  Remove build results when finished
-    [-o|--outdir <path>]          store build results in path
-				  (defaults to $TARGET)
+    [-o|--outdir <path>]          Store build results in path
+                                  (defaults to $TARGET)
     [-L|--clang]                  Use clang
-    [-K|--kconfig <name>]	  Prepend file to generated Kconfig
+    [-K|--kconfig <name>]         Prepend file to generated Kconfig
     [-x|--chromeos]               Build with CHROMEOS enabled
                                   Skip boards without Chrome OS support
-    [-X|--xmlfile <name>]         set JUnit XML log file filename
-    [--scan-build]                use clang's static analyzer
-    [cbroot]			  absolute path to coreboot sources
-				  (defaults to $ROOT)
+    [-X|--xmlfile <name>]         Set JUnit XML log file filename
+    [--scan-build]                Use clang's static analyzer
+    [cbroot]                      Absolute path to coreboot sources
+                                  (defaults to $ROOT)
 
 __END_OF_HELP
 }



More information about the coreboot-gerrit mailing list