// Run Commands from cli
cmds = new Commands(argparser, headlessArg);
boolean commandsSuccess = cmds.argsWereParsed();
+
if (commandsSuccess)
{
if (headlessArg)
}
else
{
+ // record usage stats if in headless mode
+ if (Cache.getDefault("USAGESTATS", false))
+ {
+ Cache.initGoogleTracker(headlessArg);
+ }
Jalview.exit("Successfully completed commands in headless mode",
0);
}