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
Here's a bit more info. If the arg is passed in on the command line then space is works. If I pass the arg in via System.Console.In stream then the parse fails.
Example:
$ ./Devices.Console.exe -l Info
Devices.Console Log - BEGIN
Log level set to: Info
l Info
ERROR|Devices.Console.CommandLineProcessor|Command processing error: Option '-l Info' parse error: could not parse '' to 'Devices.Console.CommandLineProcessor+ConsoleLogLevel'.
l=Info
Log level set to: Info
Argument -l info passed into the console app works
Typing l info into the console session followed by newline fails
Typing l=Info into the console works
Based on the docs in the README the space
character should work for options in the format:
However only
:
and=
work, using a space results in a parse error.From the docs:
The text was updated successfully, but these errors were encountered: