mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-13 16:06:59 +02:00
adds default board to get_latest_image
Review URL: http://codereview.chromium.org/1702014
This commit is contained in:
parent
96a4f21ee3
commit
5d8ed6de6a
@ -10,7 +10,10 @@
|
|||||||
# The path to common.sh should be relative to your script's location.
|
# The path to common.sh should be relative to your script's location.
|
||||||
. "$(dirname "$0")/common.sh"
|
. "$(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
|
# Parse command line flags
|
||||||
FLAGS "$@" || exit 1
|
FLAGS "$@" || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user