jsonargparse
jsonargparse copied to clipboard
Reduce discrepancies with respect to argparse
jsonargparse has a few deliberate deviations with respect to argparse. However, there are some differences which are not needed and it is preferable to remove them to stay more aligned with argparse.
- [x] Support
exit_on_error(#231) - [x] When parsing fails, use
ArgumentErrorexception (#231) - [ ] Handle default type conversion with
ArgumentTypeErrorexception - [ ] Run unit tests from
argparseto guarantee equivalent behavior - [ ] Document deliberate deviations from
argparse