1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-21 23:38:50 -05:00

Allow *.groovy files as argument value for --format, --filter and --file-filter CLI options (e.g. --format /path/to/MyFormat.groovy)

This commit is contained in:
Reinhard Pointner 2019-05-19 18:54:58 +07:00
parent e3ff4525c0
commit c9478ffeba

View File

@ -31,7 +31,7 @@ public class GroovyExpressionHandler extends StringOptionHandler {
try {
return readTextFile(f);
} catch (Exception e) {
throw new CmdLineException(owner, "Failed to read argument value from text file: " + f, e);
throw new CmdLineException(owner, "Failed to read text file: " + f, e);
}
}
}