woboq / tr

Translation tools for rust
57 stars 9 forks source link

Turn `--omit-header` back into flag #17

Closed Minoru closed 1 year ago

Minoru commented 1 year ago

https://github.com/woboq/tr/commit/ddea8408e322e1b1a644f49ca0a28ddc7653ded3 introduced a regression: --omit-header started requiring a value. The regression was released as part of 0.1.7 and 0.1.8. This commit fixes it.

The program only has two other flags, --help and --version, but those are provided by Clap itself and don't need fixing.

ogoffart commented 1 year ago

Thanks!