Open samjudson opened 8 years ago
OK, I've found the 'issue': The "-" prefix prefers short options, over long options, and I should be using "--" to enforce the long option.
Still not sure if this is the 'correct' behaviour when the option is an exact match on a long option - its certainly not intuitive to me. Any thoughts?
Same issue here
Unfortunately as designed, see https://github.com/fclp/fluent-command-line-parser/issues/24 as this lib follows unix conventions.
We do really need to put in an option to disable short options though which would be a much nicer solution for people that like using -silent
style.
In v1.5 you will be able to do var fclp = new FluentCommandLineParser().DisableShortOptions();
Hi
I've got two options setup, one of which has a short code, which matches the first letter of the other long option.
The option passed in is "test2" but the "t" setup option is being called. Surely in this instance the most exact match (the second "test2" option) should be matched?