From e6d4115da6af04fda8ba7575e5d0968f507fb567 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 18 Oct 2012 16:34:38 +0000 Subject: [PATCH] * log options as well as input arguments --- website/scripts/utorrent-postprocess.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/scripts/utorrent-postprocess.groovy b/website/scripts/utorrent-postprocess.groovy index 3239c663..a71ca637 100644 --- a/website/scripts/utorrent-postprocess.groovy +++ b/website/scripts/utorrent-postprocess.groovy @@ -4,6 +4,7 @@ def failOnError = _args.conflict == 'fail' // print input parameters _args.bindings?.each{ _log.finest("Parameter: $it.key = $it.value") } +args.each{ _log.finest("Argument: $it") } // enable/disable features as specified via --def parameters def subtitles = tryQuietly{ subtitles.toBoolean() } @@ -44,7 +45,7 @@ def forceIgnore(f) { // 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 if (ut_kind == 'single') { input += new File(ut_dir, ut_file) // single-file torrent