mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* fix issues with cmdline on headless systems
This commit is contained in:
parent
0827fda189
commit
d56fc9b368
@ -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())) {
|
||||
|
Loading…
Reference in New Issue
Block a user