From: Erik V. <ev...@us...> - 2009-11-06 20:21:33
|
Update of /cvsroot/rails/18xx/rails/test In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5909/rails/test Modified Files: GameTest.java Log Message: Print arguments Index: GameTest.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/test/GameTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** GameTest.java 5 Nov 2009 22:50:37 -0000 1.5 --- GameTest.java 6 Nov 2009 20:21:24 -0000 1.6 *************** *** 10,13 **** --- 10,14 ---- public static void main(String[] args) { + /* * Check if the property file has been set on the command line. The way *************** *** 31,35 **** System.out.println("Configuration file = " + myConfigFile); ! /* Start the rails.game selector, which will do all the rest. */ new GameSetupWindow(); } --- 32,43 ---- System.out.println("Configuration file = " + myConfigFile); ! int nargs = 0; ! if (args != null && args.length > 0) { ! for (String arg : args) { ! System.out.println ("Arg "+(++nargs)+": "+arg); ! } ! } ! ! /* Start the rails.game selector, which will do all the rest. */ new GameSetupWindow(); } |