* fix issues with cmdline on headless systems

This commit is contained in:
Reinhard Pointner 2013-12-24 03:24:02 +00:00
parent 0827fda189
commit d56fc9b368
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class Main {
final ArgumentProcessor cli = new ArgumentProcessor();
final ArgumentBean args = cli.parse(arguments);
if (args.printHelp() || args.printVersion() || (!args.runCLI() && isHeadless())) {
if (args.printHelp() || args.printVersion() || (!(args.runCLI() || args.clearCache() || args.clearUserData()) && isHeadless())) {
System.out.format("%s / %s%n%n", getApplicationIdentifier(), getJavaRuntimeIdentifier());
if (args.printHelp() || (!args.printVersion() && isHeadless())) {