David Hendricks has uploaded this change for review.
board_status: Show help if no arguments are specified
Change-Id: Ib7d358771b21eaf7fbfefbd62d5da3ffbc44c733
Signed-off-by: David Hendricks <david.hendricks@gmail.com>
---
M util/board_status/board_status.sh
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/20818/1
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 1dcca71..d8931f5 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -199,6 +199,11 @@
exit $EXIT_FAILURE
fi
+if [ $# -eq 0 ]; then
+ show_help
+ exit $EXIT_SUCCESS
+fi
+
LONGOPTS="clobber,help,image:,remote-host:,upload-results"
LONGOPTS="${LONGOPTS},serial-device:,serial-speed:"
LONGOPTS="${LONGOPTS},ssh-port:"
To view, visit change 20818. To unsubscribe, visit settings.