Improves error messages when parsing argv.