From 1ce8ab15b7d0debfd4608ab0df3ae9c01d1c4c98 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 25 Mar 2015 04:35:13 +0000 Subject: [PATCH] * improved default behaviour if called without arguments --- source/net/filebot/cli/ArgumentBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/cli/ArgumentBean.java b/source/net/filebot/cli/ArgumentBean.java index bbb7cdfc..483563e4 100644 --- a/source/net/filebot/cli/ArgumentBean.java +++ b/source/net/filebot/cli/ArgumentBean.java @@ -161,7 +161,7 @@ public class ArgumentBean { if (recursive) { files.addAll(listFiles(file)); } else { - files.addAll(getChildren(file)); + files.addAll(filter(getChildren(file, FILES), NOT_HIDDEN)); } } else { files.add(file);