Use [`clap::Parser::try_parse_from`](https://docs.rs/clap/latest/clap/trait.Parser.html#method.try_parse_from) for parsing the cli arguments to the struct. This should test the clap derive for breaking behaviour. https://github.com/TheAlgorythm/zsplit/blob/c720e1155b64a711fa68d0df7d9f9e969a9e4573/src/cli.rs#L24-L26
Use
clap::Parser::try_parse_fromfor parsing the cli arguments to the struct.This should test the clap derive for breaking behaviour.
zsplit/src/cli.rs
Lines 24 to 26 in c720e11