Make libretro-super.sh stop on info options

This commit is contained in:
T. Joseph Carter 2015-06-17 03:07:44 -07:00
parent d69b310cc3
commit f83e25080e

View File

@ -597,9 +597,12 @@ if [ -n "$1" ]; then
#
# TODO
--help) ;;
--help)
info_only=1
;;
--license|--licence)
info_only=1
show_license=1
LIBRETRO_LOG_SUPER=""
LIBRETRO_LOG_MODULE=""
@ -718,6 +721,10 @@ letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA."
fi
lsecho "Licensed under CC-BY-4.0 (--license for details)"
if [ -n "$info_only" ]; then
exit 0
fi
# Configure some defaults
[ -z "$actions" ] && actions="$default_actions"
[ -z "$modtypes" ] && modtypes="cores players ${LIBRETRO_DEVELOPER:+devkits}"