Fix usb-boot usage message.

When - is specified usb-boot interprets it as kernel so the usage
message is clearly bogus.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
This commit is contained in:
Michal Suchanek 2014-01-26 01:33:49 +01:00 committed by Henrik Nordstrom
parent ea2a4169cc
commit b00fbc985f

View File

@ -1,7 +1,7 @@
#!/bin/sh -e
top=`dirname $0`
if [ $# -lt 2 ]; then
echo "Usage: $0 u-boot-spl.bin u-boot.bin [boot.scr|-] [kernel script.bin [initramfs]]"
echo "Usage: $0 u-boot-spl.bin u-boot.bin [boot.scr] [kernel script.bin [initramfs]]"
exit 1
fi
board=$1; shift || (echo "ERROR: u-boot-spl.bin must be specified"; exit 1;)