argparse icon indicating copy to clipboard operation
argparse copied to clipboard

Some improvements

Open friefi opened this issue 4 years ago • 1 comments

I would like to suggest some improvements to the argparse project:

  • introduction of count limits for multi-value args
  • providing result collections for parse errors instead of writing to cerr
  • modifying the validate() method to not exit the program and validate "unknown" args as well
  • fixing issue when a value of a multi-value arg contains commas

I would go ahead and do a pull request, if appreciated.

friefi avatar May 31 '21 12:05 friefi

Hi Friefi, thanks for the suggestions, this is much appreciated.

I'd be happy to accept the pull request for these points. And as for the count limits, what would be the use case for this?

Looking forward to the pull request!

morrisfranken avatar Jun 07 '21 14:06 morrisfranken