From 8284fdc1a06f35c52b97fb439ac5bddfcd9ad97f Mon Sep 17 00:00:00 2001 From: dragon Date: Sat, 22 Oct 2022 16:42:11 +0200 Subject: [PATCH] fixed options error message --- ExeToBat/Console.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExeToBat/Console.cs b/ExeToBat/Console.cs index 29a62a1..2742be4 100644 --- a/ExeToBat/Console.cs +++ b/ExeToBat/Console.cs @@ -56,7 +56,7 @@ namespace ExeToBat } catch (OptionException e) { - System.Console.WriteLine("Invalid arguments: {0}", e); + System.Console.WriteLine("Invalid arguments: {0}", e.Message); Help(options); } }