summaryrefslogtreecommitdiff
path: root/resources/scripts/download/grub
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/download/grub')
-rwxr-xr-xresources/scripts/download/grub17
1 files changed, 17 insertions, 0 deletions
diff --git a/resources/scripts/download/grub b/resources/scripts/download/grub
index 47c75bc1..97bae1ed 100755
--- a/resources/scripts/download/grub
+++ b/resources/scripts/download/grub
@@ -21,6 +21,23 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
+usage()
+{
+ progname="./download grub"
+ printf "Usage:\n"
+ printf "\t%s # %s\n" \
+ "${progname}" \
+ "Download GRUB"
+ printf "\t%s --help # %s\n" \
+ "${progname}" \
+ "Prints this help"
+}
+
+if [ $# -ne 0 ] ; then
+ usage
+ exit 0
+fi
+
# Remove the old version that may still exist
# ------------------------------------------------------------------------------