diff --git a/board/common/overlay/sbin/fwupdate b/board/common/overlay/sbin/fwupdate index 9514b9a93e..a0537c85b6 100755 --- a/board/common/overlay/sbin/fwupdate +++ b/board/common/overlay/sbin/fwupdate @@ -4,7 +4,7 @@ #### usage #### function exit_usage() { - echo "Usage: fwupdate versions (lists available versions)" + echo "Usage: fwupdate versions [-u] (lists available versions, optionally showing the URL)" echo " fwupdate current (shows the current version" echo " fwupdate download (downloads a firmware version)" echo " fwupdate extract (extracts the downloaded firmware archive)" @@ -394,7 +394,9 @@ function new_version() { case "$1" in versions) - show_versions + show_url="false" + test "$2" == "-u" && show_url="true" + show_versions $show_url ;; current)