#!/bin/sh

EXCUSE="\
Nexuiz server wrapper\n\
This script is Debian specific, it is *NOT* part of the source distribution!\n\
Usage: nexuiz-server [OPTION]...\n\
\n\
 -h, --help\t\tDisplay this help\n\
 +set option value\tPass options to the Nexuiz server binary\n\
 +exec foobar.cfg\tExecute a nexuiz-script at startup\n"

case "$1" in
	-h|--help)
		echo -e ${EXCUSE}
		exit 0;
	;;
esac

# Ready to rumble!
cd /usr/lib/games/nexuiz
./nexuiz-dedicated $*
exit $?
