Is this something I can test? Best regards from Ohio, U.S.A., Vic E-mail: vic.beckley3@xxxxxxxxx -----Original Message----- From: brailleblaster-bounce@xxxxxxxxxxxxx [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of brailleblaster@xxxxxxxxxxxxxx Sent: Sunday, May 06, 2012 12:33 AM To: brailleblaster@xxxxxxxxxxxxx Subject: [brailleblaster] push by john.bo...@xxxxxxxxxxxxxxxxx - the -utd option now works on 2012-05-06 04:32 GMT Revision: 57e6c333543e Author: John Boyer <john.boyer@xxxxxxxxxxxxxxxxx> Date: Sat May 5 21:31:50 2012 Log: the -utd option now works http://code.google.com/p/brailleblaster/source/detail?r=57e6c333543e Modified: /src/main/org/brailleblaster/BBIni.java /src/main/org/brailleblaster/Main.java ======================================= --- /src/main/org/brailleblaster/BBIni.java Sat May 5 18:43:13 2012 +++ /src/main/org/brailleblaster/BBIni.java Sat May 5 21:31:50 2012 @@ -79,6 +79,7 @@ private static String tempFilesPath; private static String platformName; private static String userSettings; +private static boolean hSubcommands = false; private static boolean hLiblouisutdml = false; private static FileHandler logFile; static final String BBID = "brlblst"; @@ -140,7 +141,8 @@ logger.addHandler (logFile); } if (args.length > 0) { -for (int i = 0; i < args.length; i++) { +int i = 0; +while (i < args.length) { if (args[i].charAt(0) != '-') { break; } @@ -156,7 +158,11 @@ else { System.out.println ("Bad option " + args[i]); } - } +i++; + } +if (i < args.length) { +hSubcommands = true; +} } if (gotGui) { try { @@ -199,6 +205,10 @@ { return hLiblouisutdml; } + +public static boolean haveSubcommands() { +return hSubcommands; +} public static void setVersion (String version) { BBVersion = version; ======================================= --- /src/main/org/brailleblaster/Main.java Tue Oct 4 21:17:38 2011 +++ /src/main/org/brailleblaster/Main.java Sat May 5 21:31:50 2012 @@ -47,11 +47,10 @@ BBIni.initialize(args); BBIni.setVersion ("brailleblaster-1.3.0"); BBIni.setReleaseDate ("October 5, 2011"); -if (args.length == 0) +if (BBIni.haveSubcommands()) { +new Subcommands(args); +} else { new WPManager (null); -else -{ -new Subcommands (args); } Display display = BBIni.getDisplay(); if (display != null)