Skip to content

Commit

Permalink
mkhex: Add --help option
Browse files Browse the repository at this point in the history
Signed-off-by: Rahix <[email protected]>
  • Loading branch information
Rahix committed Apr 3, 2020
1 parent 0aef1a6 commit 28a6837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkhex.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
set -e

if [ $# -gt 2 ]; then
if [ $# -gt 2 -o $1 = "--help" ]; then
echo "usage: $0 [--release|--debug] <elf-name>" >&2
exit 1
fi
Expand Down

0 comments on commit 28a6837

Please sign in to comment.