You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm invoking my program like this:
program.exe -p param1 -p param2 -p ...
with the following declaration:
IList<string> parameters = new List<string>();
var parser = new FluentCommandLineParser();
parser.Setup<string>('p').Callback(p => parameters.Add(p));
parser.Parse(args);
At the end of the call to Parse() I only have "param1" in my collection
The text was updated successfully, but these errors were encountered:
Hi Jeff,
Yes I must admit I never thought of that use case. You can however use
program.exe -p param1 param2 ... to achieve the same thing
Simon
On 29 Jan 2018 21:52, "Jeff Saremi" <[email protected]> wrote:
I'm invoking my program like this:
program.exe -p param1 -p param2 -p ...
with the following declaration:
IList<string> parameters = new List<string>();
var parser = new FluentCommandLineParser();
parser.Setup<string>('p').Callback(p => parameters.Add(p));
parser.Parse(args);
At the end of the call to Parse() I only have "param1" in my collection
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#94>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ADfmmapgcJI9AvPprXl8HMI2UnPp3IwYks5tPj2egaJpZM4RxaiE>
.
I'm invoking my program like this:
program.exe -p param1 -p param2 -p ...
At the end of the call to Parse() I only have "param1" in my collection
The text was updated successfully, but these errors were encountered: