tafia / quick-protobuf

A rust implementation of protobuf parser
MIT License
452 stars 87 forks source link

feat: small improvements to pb-rs arg parsing #204

Closed FauxFaux closed 1 year ago

FauxFaux commented 2 years ago

Two small improvements to the arg parser in pb-rs:

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?