summaryrefslogtreecommitdiff
path: root/resources/scripts/download/seabios
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/download/seabios')
-rwxr-xr-xresources/scripts/download/seabios17
1 files changed, 17 insertions, 0 deletions
diff --git a/resources/scripts/download/seabios b/resources/scripts/download/seabios
index 58ea2bb8..a7c4ab5e 100755
--- a/resources/scripts/download/seabios
+++ b/resources/scripts/download/seabios
@@ -19,6 +19,23 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
+usage()
+{
+ progname="./download seabios"
+ printf "Usage:\n"
+ printf "\t%s # %s\n" \
+ "${progname}" \
+ "Download SeaBIOS"
+ printf "\t%s --help # %s\n" \
+ "${progname}" \
+ "Prints this help"
+}
+
+if [ $# -ne 0 ] ; then
+ usage
+ exit 0
+fi
+
# Get SeaBIOS, revert to commit last used and apply patches.
# Remove the old version that may still exist