From a7572146c12d26f551b5233e368d89347f58c996 Mon Sep 17 00:00:00 2001 From: lookbusy1344 <3680611+lookbusy1344@users.noreply.github.com> Date: Mon, 24 Jun 2024 09:39:53 +0100 Subject: [PATCH] Updating picoargs to v1.4.0 --- PicoArgs.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PicoArgs.cs b/PicoArgs.cs index 2c3c4d4..c44992d 100644 --- a/PicoArgs.cs +++ b/PicoArgs.cs @@ -3,7 +3,7 @@ namespace PicoArgs_dotnet; /* PICOARGS_DOTNET - a tiny command line argument parser for .NET https://github.com/lookbusy1344/PicoArgs-dotnet - Version 1.3.1 - 04 May 2024 + Version 1.4.0 - 24 Jun 2024 Example usage: @@ -270,6 +270,8 @@ public static KeyValue Build(string arg, bool recogniseEquals) /// private static string TrimQuote(string str) => (str.Length > 1 && (str[0] is '\'' or '\"') && str[^1] == str[0]) ? str[1..^1] : str; + + public override string ToString() => Value == null ? Key : $"{Key}={Value}"; } ///