diff --git a/linux/sdcard/write-bytes.sh b/linux/sdcard/write-bytes.sh index ba847e876..83a8481e5 100755 --- a/linux/sdcard/write-bytes.sh +++ b/linux/sdcard/write-bytes.sh @@ -3,6 +3,15 @@ # This file writes a bunch of bytes to the flash card based on a text # file input with bytes written in hexadecimal. +usage() { echo "Usage: $0 [-zh] [-b ] " 1>&2; exit 1; } + +help() { + echo "Usage: $0 [OPTIONS] " + echo " -i Input text file with hex bytes." + echo " -b Output binary file." + exit 0; +} + INPUTFILE="" OUTPUTFILE=""