mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 11:14:11 +00:00
Make libretro-super.sh stop on info options
This commit is contained in:
parent
d69b310cc3
commit
f83e25080e
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user