rust-bindgen icon indicating copy to clipboard operation
rust-bindgen copied to clipboard

--help message displays poorly in 80-column terminals

Open Lokathor opened this issue 5 years ago • 5 comments

The help message displays very poorly in 80-column terminals. If possible, the message printing should be terminal-size aware.

Lokathor avatar Aug 15 '20 02:08 Lokathor

I believe clap 3 has this functionality, but bindgen is using clap 2 at the moment

LoganDark avatar Aug 24 '20 23:08 LoganDark

There doesn't seem to be any clap 3 in the registry?

emilio avatar Nov 13 '20 19:11 emilio

(But anyhow patches more than welcome :))

emilio avatar Nov 13 '20 19:11 emilio

@emilio https://docs.rs/clap/3.0.0-beta.2/clap/index.html

LoganDark avatar Nov 13 '20 20:11 LoganDark

Given that clap 4 is releasing soon-ish (https://epage.github.io/blog/2022/09/clap4/). Migrating from clap 2 would be a good move because it is entering maintenance mode.

pvdrz avatar Sep 21 '22 03:09 pvdrz

We're using clap 4 so this shouldn't be an issue anymore.

pvdrz avatar Apr 19 '23 22:04 pvdrz