From 969c1c6a120b24d6a451889ee69cde3543e86624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Thu, 3 Sep 2026 01:36:19 -0400 Subject: [PATCH] fix: correct typos in CLI usage output and an exception message - CSFix.cs: 'assmbly' -> 'assembly' (10 occurrences) in the argument placeholder names printed by usage(). Text output only. - LiveDotNet.cs: FormatException message 'Invalid ip-adress' -> 'Invalid ip-address'. No identifiers were renamed and no logic was changed. --- Source/Misc/LiveDotNet/Editor/LiveDotNet.cs | 2 +- Source/VSProj/Src/Tools/CSFix.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Misc/LiveDotNet/Editor/LiveDotNet.cs b/Source/Misc/LiveDotNet/Editor/LiveDotNet.cs index da3acdb..950cf1d 100644 --- a/Source/Misc/LiveDotNet/Editor/LiveDotNet.cs +++ b/Source/Misc/LiveDotNet/Editor/LiveDotNet.cs @@ -52,7 +52,7 @@ void doPatch() IPAddress ip; if (!IPAddress.TryParse(strIp, out ip)) { - throw new FormatException("Invalid ip-adress"); + throw new FormatException("Invalid ip-address"); } IPEndPoint remoteEndPoint = new IPEndPoint(ip, port); diff --git a/Source/VSProj/Src/Tools/CSFix.cs b/Source/VSProj/Src/Tools/CSFix.cs index 615814b..9d99b00 100644 --- a/Source/VSProj/Src/Tools/CSFix.cs +++ b/Source/VSProj/Src/Tools/CSFix.cs @@ -17,12 +17,12 @@ public static class Program static void usage() { Console.WriteLine("Usage:"); - Console.WriteLine("IFix -inject core_assmbly_path assmbly_path config_path patch_file_output_path" - + " injected_assmbly_output_path [search_path1, search_path2 ...]"); - Console.WriteLine("IFix -inherit_inject core_assmbly_path assmbly_path config_path " - + "patch_file_output_path injected_assmbly_output_path inherit_assmbly_path " + Console.WriteLine("IFix -inject core_assembly_path assembly_path config_path patch_file_output_path" + + " injected_assembly_output_path [search_path1, search_path2 ...]"); + Console.WriteLine("IFix -inherit_inject core_assembly_path assembly_path config_path " + + "patch_file_output_path injected_assembly_output_path inherit_assembly_path " + "[search_path1, search_path2 ...]"); - Console.WriteLine("IFix -patch core_assmbly_path assmbly_path injected_assmbly_path" + Console.WriteLine("IFix -patch core_assembly_path assembly_path injected_assembly_path" + " config_path patch_file_output_path [search_path1, search_path2 ...]"); }