commandlineparser / commandline

The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
MIT License
4.55k stars 478 forks source link

GetoptMode = true suppresses help. #907

Open s3YwCf2ZbfJG4SHAfjQMAjtsf opened 10 months ago

s3YwCf2ZbfJG4SHAfjQMAjtsf commented 10 months ago

Describe the bug var parser = new Parser(opts => { opts.GetoptMode = true; }); result = parser.ParseArguments....

opts.GetoptMode = true causes the help to be suppressed

To Reproduce Make your own "new Parser" with only GetoptMode = true

Expected behavior The help should show up regardless

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Appending other options to "new Parser" didn't seem to help.