From 16955fd6654cc50ce8776c6c176bacd9316585f5 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Tue, 12 Nov 2013 16:45:37 -0800 Subject: 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 Reviewed-on: http://review.coreboot.org/4047 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- util/board_status/board_status.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/board_status/board_status.sh') diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 12d1ecddf4..689eda9ac0 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 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) -- cgit v1.2.3