In my URLyBird spec the options are:
java -jar <path to jar> <mode>
Where
<path to jar> is the path and file name of the jar file. This file must be name runme.jar according to instructions.html file.
<mode> can be either "server" or "standalone".
The possible scenarios in my implementation are:
1. java -jar runme.jar
In this scenario, the system will start the client application. This application must connect to the remote RMI server, previously started.
2. java -jar runme.jar server
In this scenario, the system will start the server application, that is to say, it will initialize the RMI server.
3. java -jar runme.jar standalone
In this scenario the system starts the client application, but instead of
using remote objects it uses local objects to manipulate the database.
4. java -jar runme.jar xyz
In this case the system receives an invalid input parameter, therefore it prints a help screen to tell the user what is the right input.
I hope this help!