From 82b8df4e1377ef4adbe00ff5432d8fc0da6509fc Mon Sep 17 00:00:00 2001 From: Andy Isley Date: Thu, 20 Sep 2018 02:34:48 -0400 Subject: [PATCH] Fixed the -F to filter based on the value pased if you are in -M:All. --- src/DWScripter/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/DWScripter/Program.cs b/src/DWScripter/Program.cs index a2d601e..4bfe12c 100644 --- a/src/DWScripter/Program.cs +++ b/src/DWScripter/Program.cs @@ -118,6 +118,10 @@ namespace DWScripter { if (mode == "FULL" || mode == "DELTA" || mode == "COMPARE" || mode == "PERSISTSTRUCTURE") { + if (mode == "FULL" && featureToScript != "ALL") + { + filterSpec = featureToScript; + } c = new PDWscripter(system, server, sourceDb, authentication, userName, pwd, wrkMode, ExcludeObjectSuffixList, filterSpec, mode, CommandTimeout); if (mode == "PERSISTSTRUCTURE") // populate dbstruct class