diff --git a/src/ContentSync/Program.cs b/src/ContentSync/Program.cs index f8b0c84..32e9cf4 100644 --- a/src/ContentSync/Program.cs +++ b/src/ContentSync/Program.cs @@ -59,6 +59,12 @@ private static int Main(string[] args) destination = Path.GetFullPath(destination); } + if (arguments.Pattern != "*") + { + Log.WriteError($"The pattern cannot be specified when processing a single file."); + return 4; + } + Sync.Files(source, destination, arguments); return 0; }