adds default board to get_latest_image

Review URL: http://codereview.chromium.org/1702014
This commit is contained in:
Chris Sosa 2010-04-29 10:23:24 -07:00
parent 96a4f21ee3
commit 5d8ed6de6a

View File

@ -10,7 +10,10 @@
# The path to common.sh should be relative to your script's location.
. "$(dirname "$0")/common.sh"
DEFINE_string board "" "The name of the board to check for images."
get_default_board
DEFINE_string board "$DEFAULT_BOARD" \
"The name of the board to check for images."
# Parse command line flags
FLAGS "$@" || exit 1