argh icon indicating copy to clipboard operation
argh copied to clipboard

Strip trailing underscore from option names

Open djpohly opened this issue 1 year ago • 1 comments

Removes a trailing underscore from function argument names when inferring option names, to avoid name clashes with reserved words and builtins (e.g. --class or --all). Implements #222.

djpohly avatar Feb 06 '24 20:02 djpohly

(After some further testing, it looks like there are other places where the mapping needs to be adjusted, so this is a draft for now.)

djpohly avatar Feb 06 '24 20:02 djpohly