Closed FauxFaux closed 1 year ago
Two small improvements to the arg parser in pb-rs:
pb-rs
hashbrown
hashrown
input
Before:
pb-rs fatal error No .proto file provided
After:
error: The following required arguments were not provided: <INPUT>... USAGE: pb-rs [FLAGS] [OPTIONS] <INPUT>... For more information try --help
It's not ideal, but it's a bit more comforting to me, who is used to clap output?
clap
Two small improvements to the arg parser in
pb-rs
:hashbrown
correctly, to save me googling whathashrown
is and getting really confused. Technically this is a breaking change.input
as required, sopb-rs
with no args is a bit more helpful:Before:
After:
It's not ideal, but it's a bit more comforting to me, who is used to
clap
output?