Replace uses of `parse_opt_*` with `parse_*` where possible.
This lets us specify the default at the options declaration point, instead of using `.unwrap(default)` or `None | Some(default)` at some use point far away. It also makes the code more concise.
Showing
想要评论请 注册 或 登录