p-ranav / argparse

Argument Parser for Modern C++
MIT License
2.67k stars 244 forks source link

Fix behaviour of arguments with default value #288

Closed gonzaponte closed 1 year ago

gonzaponte commented 1 year ago

This is an attempt to fix #287. Might have something to do with #247 as well.

I'm not familiar with this code, so it might break other features, although tests pass locally.

p-ranav commented 1 year ago

Merged in https://github.com/p-ranav/argparse/commit/d28188f4d542b07de9bad3e89aa53d8bf1a53a09. Thanks!