From 16edd98300e8151a3d7a29772ad5988ea308aec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Thu, 5 Dec 2013 20:32:15 +0100 Subject: [PATCH] self-document it --- OpenRA.Lint/YamlChecker.cs | 6 ++++++ 1 file changed, 6 insertions(+) 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("-"));