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> Reviewed-on: http://review.coreboot.org/4047 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
1b6e7a6748
commit
16955fd665
|
@ -25,8 +25,8 @@ show_help() {
|
||||||
Options
|
Options
|
||||||
-h
|
-h
|
||||||
Show this message.
|
Show this message.
|
||||||
-c
|
-C
|
||||||
Clobber temporary output when finished. Useful when not uploading.
|
Clobber temporary output when finished. Useful for debugging.
|
||||||
-r <host>
|
-r <host>
|
||||||
Obtain machine information from remote host (using ssh).
|
Obtain machine information from remote host (using ssh).
|
||||||
-u
|
-u
|
||||||
|
@ -86,13 +86,13 @@ cmd()
|
||||||
exit $EXIT_FAILURE
|
exit $EXIT_FAILURE
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts "chr:u" opt; do
|
while getopts "Chr:u" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
h)
|
h)
|
||||||
show_help
|
show_help
|
||||||
exit $EXIT_SUCCESS
|
exit $EXIT_SUCCESS
|
||||||
;;
|
;;
|
||||||
c)
|
C)
|
||||||
CLOBBER_OUTPUT=1
|
CLOBBER_OUTPUT=1
|
||||||
;;
|
;;
|
||||||
r)
|
r)
|
||||||
|
|
Loading…
Reference in New Issue