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:
parent
e3ff4525c0
commit
c9478ffeba
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user