From 5dd335e61b97c10f7ea540a2d28b4c05122f3fd2 Mon Sep 17 00:00:00 2001 From: Christopher Schuchardt Date: Mon, 6 Nov 2023 05:50:34 -0500 Subject: [PATCH] fixes issue #298 (#301) * fixes issue #298 * Delete src/neoxp/Properties/launchSettings.json --- src/neoxp/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/neoxp/Program.cs b/src/neoxp/Program.cs index 5cbd4503..79076e9e 100644 --- a/src/neoxp/Program.cs +++ b/src/neoxp/Program.cs @@ -1,8 +1,8 @@ -using System.IO.Abstractions; -using System.Runtime.InteropServices; -using McMaster.Extensions.CommandLineUtils; +using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.DependencyInjection; using NeoExpress.Commands; +using System.IO.Abstractions; +using System.Runtime.InteropServices; namespace NeoExpress { @@ -48,7 +48,7 @@ public static async Task Main(string[] args) } catch (CommandParsingException ex) { - await Console.Error.WriteLineAsync($"\x1b[1m\x1b[31m\x1b[40m{ex.Message}"); + await Console.Error.WriteLineAsync($"\x1b[1m\x1b[31m\x1b[40m{ex.Message}\x1b[0m"); if (ex is UnrecognizedCommandParsingException uex && uex.NearestMatches.Any()) {