From 2df3b3ea76b912dda2fd0659095856b79b877337 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Wed, 22 Aug 2018 09:38:15 -0700 Subject: [PATCH] elf2bin: Fix the help text Signed-off-by: Palmer Dabbelt --- freedom-elf2bin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freedom-elf2bin.sh b/freedom-elf2bin.sh index 4ea4a60..98bf90b 100644 --- a/freedom-elf2bin.sh +++ b/freedom-elf2bin.sh @@ -6,7 +6,7 @@ objcopy="@OBJCOPY@" while [[ "$1" != "" ]] do case "$1" in - -h | --help) echo "$0 [-h, --help] --input INPUT.ELF [--output OUTPUT.HEX]" >&2; exit 0;; + -h | --help) echo "$0 [-h, --help] --input INPUT.ELF [--output OUTPUT.BIN]" >&2; exit 0;; --input) input="$2"; shift 2;; --output) output="$2"; shift 2;; *) echo "$0: unknown argument $1">&2; exit 1;; @@ -15,7 +15,7 @@ done if [[ "$input" == "" ]] then - echo "$0 [-h, --help] --input INPUT.ELF [--output OUTPUT.HEX]" >&2 + echo "$0 [-h, --help] --input INPUT.ELF [--output OUTPUT.BIN]" >&2 exit 1 fi