diff --git a/src/CommandLineUtils/CommandLineApplication.cs b/src/CommandLineUtils/CommandLineApplication.cs
index 00c00b4c..38e6fd60 100644
--- a/src/CommandLineUtils/CommandLineApplication.cs
+++ b/src/CommandLineUtils/CommandLineApplication.cs
@@ -578,7 +578,7 @@ public CommandOption Option(string template, string description, CommandOptionTy
///
/// The type of the values on the option
/// The option
- public CommandOption Option(string template, string description, CommandOptionType optionType, Action configuration, bool inherited)
+ public CommandOption Option(string template, string description, CommandOptionType optionType, Action> configuration, bool inherited)
{
var parser = ValueParsers.GetParser();
@@ -642,7 +642,7 @@ public CommandArgument Argument(string name, string description, Action
/// The type of the values on the option
///
- public CommandArgument Argument(string name, string description, Action configuration, bool multipleValues = false)
+ public CommandArgument Argument(string name, string description, Action> configuration, bool multipleValues = false)
#pragma warning restore RS0026 // Do not add multiple public overloads with optional parameters
{
var parser = ValueParsers.GetParser();
diff --git a/src/CommandLineUtils/CommandLineApplicationExtensions.cs b/src/CommandLineUtils/CommandLineApplicationExtensions.cs
index f628ee6a..95bb4003 100644
--- a/src/CommandLineUtils/CommandLineApplicationExtensions.cs
+++ b/src/CommandLineUtils/CommandLineApplicationExtensions.cs
@@ -59,7 +59,7 @@ public static CommandOption Option(this CommandLineApplication app, string
///
///
///
- public static CommandOption Option(this CommandLineApplication app, string template, string description, CommandOptionType optionType, Action configuration)
+ public static CommandOption Option(this CommandLineApplication app, string template, string description, CommandOptionType optionType, Action> configuration)
=> app.Option(template, description, optionType, configuration, inherited: false);
///
diff --git a/src/CommandLineUtils/PublicAPI.Shipped.txt b/src/CommandLineUtils/PublicAPI.Shipped.txt
index 56994b24..d004e9d9 100644
--- a/src/CommandLineUtils/PublicAPI.Shipped.txt
+++ b/src/CommandLineUtils/PublicAPI.Shipped.txt
@@ -104,7 +104,7 @@ McMaster.Extensions.CommandLineUtils.CommandLineApplication.AllowArgumentSeparat
McMaster.Extensions.CommandLineUtils.CommandLineApplication.AllowArgumentSeparator.set -> void
McMaster.Extensions.CommandLineUtils.CommandLineApplication.Argument(string! name, string! description, bool multipleValues = false) -> McMaster.Extensions.CommandLineUtils.CommandArgument!
McMaster.Extensions.CommandLineUtils.CommandLineApplication.Argument(string! name, string! description, System.Action! configuration, bool multipleValues = false) -> McMaster.Extensions.CommandLineUtils.CommandArgument!
-McMaster.Extensions.CommandLineUtils.CommandLineApplication.Argument(string! name, string! description, System.Action! configuration, bool multipleValues = false) -> McMaster.Extensions.CommandLineUtils.CommandArgument!
+McMaster.Extensions.CommandLineUtils.CommandLineApplication.Argument(string! name, string! description, System.Action!>! configuration, bool multipleValues = false) -> McMaster.Extensions.CommandLineUtils.CommandArgument!
McMaster.Extensions.CommandLineUtils.CommandLineApplication.Arguments.get -> System.Collections.Generic.List!
McMaster.Extensions.CommandLineUtils.CommandLineApplication.ClusterOptions.get -> bool
McMaster.Extensions.CommandLineUtils.CommandLineApplication.ClusterOptions.set -> void
@@ -148,7 +148,7 @@ McMaster.Extensions.CommandLineUtils.CommandLineApplication.Option(string! templ
McMaster.Extensions.CommandLineUtils.CommandLineApplication.Option(string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType, System.Action! configuration, bool inherited) -> McMaster.Extensions.CommandLineUtils.CommandOption!
McMaster.Extensions.CommandLineUtils.CommandLineApplication.Option(string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType, System.Action! configuration) -> McMaster.Extensions.CommandLineUtils.CommandOption!
McMaster.Extensions.CommandLineUtils.CommandLineApplication.Option(string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType) -> McMaster.Extensions.CommandLineUtils.CommandOption!
-McMaster.Extensions.CommandLineUtils.CommandLineApplication.Option(string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType, System.Action! configuration, bool inherited) -> McMaster.Extensions.CommandLineUtils.CommandOption!
+McMaster.Extensions.CommandLineUtils.CommandLineApplication.Option(string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType, System.Action!>! configuration, bool inherited) -> McMaster.Extensions.CommandLineUtils.CommandOption!
McMaster.Extensions.CommandLineUtils.CommandLineApplication.OptionHelp.get -> McMaster.Extensions.CommandLineUtils.CommandOption?
McMaster.Extensions.CommandLineUtils.CommandLineApplication.OptionNameValueSeparators.get -> char[]!
McMaster.Extensions.CommandLineUtils.CommandLineApplication.OptionNameValueSeparators.set -> void
@@ -501,7 +501,7 @@ static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.OnE
static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.OnValidationError(this McMaster.Extensions.CommandLineUtils.CommandLineApplication! app, System.Action! action) -> void
static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.OnValidationError(this McMaster.Extensions.CommandLineUtils.CommandLineApplication! app, System.Func! action) -> void
static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.Option(this McMaster.Extensions.CommandLineUtils.CommandLineApplication! app, string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType, bool inherited) -> McMaster.Extensions.CommandLineUtils.CommandOption!
-static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.Option(this McMaster.Extensions.CommandLineUtils.CommandLineApplication! app, string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType, System.Action! configuration) -> McMaster.Extensions.CommandLineUtils.CommandOption!
+static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.Option(this McMaster.Extensions.CommandLineUtils.CommandLineApplication! app, string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType, System.Action!>! configuration) -> McMaster.Extensions.CommandLineUtils.CommandOption!
static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.Option(this McMaster.Extensions.CommandLineUtils.CommandLineApplication! app, string! template, string! description, McMaster.Extensions.CommandLineUtils.CommandOptionType optionType) -> McMaster.Extensions.CommandLineUtils.CommandOption!
static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.VerboseOption(this McMaster.Extensions.CommandLineUtils.CommandLineApplication! app, string! template) -> McMaster.Extensions.CommandLineUtils.CommandOption!
static McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.VerboseOption(this McMaster.Extensions.CommandLineUtils.CommandLineApplication! app) -> McMaster.Extensions.CommandLineUtils.CommandOption!