From 0433b5040dabe05c55139c75fbd63edac106b9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Thu, 27 Aug 2020 08:52:50 +0200 Subject: [PATCH] fix: close application for not parsed arguments --- NostaleGfless.Example/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NostaleGfless.Example/Program.cs b/NostaleGfless.Example/Program.cs index 2009db4..9cbf97b 100644 --- a/NostaleGfless.Example/Program.cs +++ b/NostaleGfless.Example/Program.cs @@ -85,6 +85,9 @@ namespace NostaleGfless.Example } } + ewh.Set(); + }).WithNotParsed((err) => + { ewh.Set(); }); -- 2.49.0