diff --git a/skyscraper.sh b/skyscraper.sh index 7f05c73..202c7d9 100755 --- a/skyscraper.sh +++ b/skyscraper.sh @@ -3,7 +3,7 @@ ## usage USAGE=" USAGE: -$(basename "$0") [BUILD | SCRAP | BOTH] [artwork.xml] [path]" +$(basename "$0") [build | scrap | both] [frontend] [path to roms]" readonly USAGE #FRONTENDS="emulationstation pegasus" @@ -12,10 +12,10 @@ readonly USAGE function help_message() { echo "$USAGE" echo - #echo "Where [FRONTEND] are:" - #for WORD in $FRONTENDS; do - # echo -e "\t$WORD" - #done + echo "Where [FRONTEND] are:" + for WORD in $FRONTENDS; do + echo -e "\t$WORD" + done } ## check if there are all the parameters @@ -32,7 +32,7 @@ if ! echo "$FRONTENDS" | grep -w "$2" >/dev/null; then fi ## parameters -#readonly FRONTEND="$2" +readonly FRONTEND="$2" readonly ROM_DIR="$3" ## colors