#!/bin/sh -e

usage()
{
        echo "Usage: sky [OPTION]"
        echo "Start Beneath a Steel Sky"
        echo
        echo "--help       display this help and exit"
        echo "--version    display version information and exit"
}

version()
{
        echo "Beneath a Steel Sky v0.0368"
        echo "Copyright (C) Revolution Software Ltd."
        echo "ScummVM engine Copyright (C) The ScummVM Team"
}

if [ "$#" -gt "1" ]; then
        usage
        exit 1
elif [ "$#" -lt "1" ]; then
        /usr/games/scummvm -p /usr/share/scummvm/beneath-a-steel-sky sky
else
        case "$1" in
        --help)
                usage
                ;;
        --version)
                version
                ;;
        *)
                usage
                exit 1
                ;;
        esac
fi

exit 0
