Skip to content

Commit

Permalink
Updating picoargs to v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lookbusy1344 committed Jun 24, 2024
1 parent 8793788 commit a757214
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PicoArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -270,6 +270,8 @@ public static KeyValue Build(string arg, bool recogniseEquals)
/// </summary>
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}";
}

/// <summary>
Expand Down

0 comments on commit a757214

Please sign in to comment.