+show_help()
+{
+printf "Download the latest Geeqie AppImages from the
+Continuous Build release on GitHub.
+
+The Continuous Build release is updated each
+time the source code is updated.
+
+You should read the contents of this file before
+running it and modify it to your requirements.
+
+The default action is to download both the
+minimal and full size AppImages to \$HOME/bin.
+Symbolic links will be set so that:
+\"geeqie\" points to the minimal version
+and
+\"Geeqie\" points to the full version.
+
+No downloads will be made unless the file on the
+server at GitHub is newer than the local file.
+
+The full size AppImage is about 120MB and the
+minimal AppImage is about 10MB. Therefore the full
+size version will load much slower and will have
+a slightly slower run speed.
+
+However the minimal version has limited capabilities
+compared to the full size version.
+
+The extract option (-e or --extract) will extract
+The contents of the full size image into a sub-directory
+of \$HOME/bin, and then set the symbolic link to the
+extracted executable. This will take up disk space, but the
+extracted executable will run as fast as a packaged release.
+
+When a new file is downloaded the extracted files will
+be replaced by the newly downloaded files\n\n"
+}
+
+extract=0
+
+while :; do
+ case $1 in
+ -h|-\?|--help)
+ show_help
+ exit
+ ;;
+ -e|--extract) # AppImage extraction is required
+ extract=1
+ ;;
+ --) # End of all options.
+ shift
+ break
+ ;;
+ -?*)
+ printf 'ERROR: Unknown option %s\n' "$1" >&2
+ exit
+ ;;
+ *)
+ break
+ esac
+
+ shift
+done
+