awgn/cgrep

Support language alias

alexandernst opened this issue · 2 comments

While --lang=Html works just fine, --lang=HTML halts with a parse error. I do understand why does this happens, I think that language args should be case insensitive and maybe even have some alias (cpp -> c++)

Why did this get closed? Is still applies to current verison, even if the original bug report is from 2014.

awgn commented

This ticket is closed because it's not a bug (Lang is currently parsed as command line option by means of Read typelcass). Fell free to improve the parser if you consider it worthwhile -- I'll be glad to merge your update. Thanks