card script: on error print possible --addon options

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 8db83b65b9
commit 3d37e4223e

@ -1888,7 +1888,11 @@ fi
if [ -n ${ADDON} ] ; then
if ! is_valid_addon ${ADDON} ; then
echo "ERROR: ${ADDON} is not a valid addon type"
usage
echo "-----------------------------"
echo "Supported --addon options:"
echo " pico"
echo " ulcd <for the beagleboard xm>"
exit
fi
fi

Loading…
Cancel
Save