Commit b00fbc98 authored by Michal Suchanek's avatar Michal Suchanek Committed by Henrik Nordstrom
Browse files

Fix usb-boot usage message.



When - is specified usb-boot interprets it as kernel so the usage
message is clearly bogus.
Signed-off-by: default avatarMichal Suchanek <hramrach@gmail.com>
Signed-off-by: default avatarHenrik Nordstrom <henrik@henriknordstrom.net>
parent ea2a4169
#!/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;)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment