summaryrefslogtreecommitdiff
path: root/util/board_status/board_status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/board_status/board_status.sh')
-rw-r--r--util/board_status/board_status.sh32
1 files changed, 16 insertions, 16 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 689eda9ac0..84319f10a7 100644
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -18,22 +18,6 @@ UPLOAD_RESULTS=0
LOCAL=0
REMOTE=1
-show_help() {
- echo "Usage:
- ${0} <option>
-
-Options
- -h
- Show this message.
- -C
- Clobber temporary output when finished. Useful for debugging.
- -r <host>
- Obtain machine information from remote host (using ssh).
- -u
- Upload results to coreboot.org.
-"
-}
-
# test a command
#
# $1: test command on remote host (0=no, 1=yes)
@@ -86,6 +70,22 @@ cmd()
exit $EXIT_FAILURE
}
+show_help() {
+ echo "Usage:
+ ${0} <option>
+
+Options
+ -h
+ Show this message.
+ -C
+ Clobber temporary output when finished. Useful for debugging.
+ -r <host>
+ Obtain machine information from remote host (using ssh).
+ -u
+ Upload results to coreboot.org.
+"
+}
+
while getopts "Chr:u" opt; do
case "$opt" in
h)