Allow rename(action) parameter to override the --action command-line option

See https://www.filebot.net/forums/viewtopic.php?f=4&t=4801
This commit is contained in:
Reinhard Pointner 2017-03-03 17:36:22 +08:00
parent e9963d1d1f
commit 498b175fe9
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ public abstract class ScriptShellBaseClass extends Script {
try {
if (files.size() > 0) {
return getCLI().rename(files, args.getRenameAction(), args.getConflictAction(), args.getAbsoluteOutputFolder(), args.getExpressionFileFormat(), args.getDatasource(), args.getSearchQuery(), args.getSortOrder(), args.getExpressionFilter(), args.getLanguage().getLocale(), args.isStrict());
return getCLI().rename(files, action, args.getConflictAction(), args.getAbsoluteOutputFolder(), args.getExpressionFileFormat(), args.getDatasource(), args.getSearchQuery(), args.getSortOrder(), args.getExpressionFilter(), args.getLanguage().getLocale(), args.isStrict());
}
if (map.size() > 0) {