diff --git a/OpenRA.Lint/YamlChecker.cs b/OpenRA.Lint/YamlChecker.cs index 946ed8cff5..9481491345 100644 --- a/OpenRA.Lint/YamlChecker.cs +++ b/OpenRA.Lint/YamlChecker.cs @@ -32,6 +32,12 @@ namespace OpenRA.Lint static int Main(string[] args) { + if (args.Length == 0) + { + Console.WriteLine("Usage: OpenRA.Lint.exe MOD [MAP] [--verbose]"); + return 0; + } + try { var options = args.Where(a => a.StartsWith("-"));