1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-10 11:25:04 -05:00

* log options as well as input arguments

This commit is contained in:
Reinhard Pointner 2012-10-18 16:34:38 +00:00
parent 04b6d25030
commit e6d4115da6

View File

@ -4,6 +4,7 @@ def failOnError = _args.conflict == 'fail'
// print input parameters // print input parameters
_args.bindings?.each{ _log.finest("Parameter: $it.key = $it.value") } _args.bindings?.each{ _log.finest("Parameter: $it.key = $it.value") }
args.each{ _log.finest("Argument: $it") }
// enable/disable features as specified via --def parameters // enable/disable features as specified via --def parameters
def subtitles = tryQuietly{ subtitles.toBoolean() } def subtitles = tryQuietly{ subtitles.toBoolean() }
@ -44,7 +45,7 @@ def forceIgnore(f) {
// collect input fileset as specified by the given --def parameters // collect input fileset as specified by the given --def parameters
if (args.empty || ['single', 'multi'].contains(ut_kind)) { if (args.empty) {
// assume we're called with utorrent parameters // assume we're called with utorrent parameters
if (ut_kind == 'single') { if (ut_kind == 'single') {
input += new File(ut_dir, ut_file) // single-file torrent input += new File(ut_dir, ut_file) // single-file torrent