David Hendricks (dhendrix@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4047
-gerrit
commit a5efa8b896be3726518b3e24778ad41372cefd6a Author: David Hendricks dhendrix@chromium.org Date: Tue Nov 12 16:45:37 2013 -0800
board_status.sh: Make clobber option use 'C' instead of 'c'
Clobbering output is only really useful when debugging the script. Since we're only using short options, let's save 'c' for something more important.
Change-Id: If87a70fdc0cd006818d1736c40f9984dfec663a9 Signed-off-by: David Hendricks dhendrix@chromium.org --- util/board_status/board_status.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 12d1ecd..689eda9 100644 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -25,8 +25,8 @@ show_help() { Options -h Show this message. - -c - Clobber temporary output when finished. Useful when not uploading. + -C + Clobber temporary output when finished. Useful for debugging. -r <host> Obtain machine information from remote host (using ssh). -u @@ -86,13 +86,13 @@ cmd() exit $EXIT_FAILURE }
-while getopts "chr:u" opt; do +while getopts "Chr:u" opt; do case "$opt" in h) show_help exit $EXIT_SUCCESS ;; - c) + C) CLOBBER_OUTPUT=1 ;; r)