From b00fbc985f078ea6a7795a15fd3a674e591cdfb7 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Sun, 26 Jan 2014 01:33:49 +0100 Subject: [PATCH] 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 Signed-off-by: Henrik Nordstrom --- usb-boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb-boot b/usb-boot index 548cfdc..77e87ce 100755 --- a/usb-boot +++ b/usb-boot @@ -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;)