foriequal0/git-trim

--help output is hard to read on narrow (<120 char) terminal windows

Opened this issue · 3 comments

Check your version before submitting the bug

❯ git-trim --version
git-trim 0.4.2

Describe the bug
git-trim --help output is hard to read on a terminal window less than 120 characters in width. This mostly concerns the "OPTIONS" section which seems to assume a terminal width of 120 characters.

To Reproduce

  1. Shrink terminal window to <120 characters, the smaller the worse
  2. git-trim --help

Expected behavior
Help output should be readable at terminal widths down to 80 characters, which I believe is a more standard "minimum" terminal width than 120.

Actual behaviour
--help output has line breaks that make it hard to read. Example, with width of 100 characters:

Screen Shot 2021-06-02 at 10 28 31 AM

Hi valrus! Thank you for reporting this issue!
As you can see in here, the help message relies on clap.rs, and there is ab open issue about this. I think there's nothing I can do for now.

Makes sense! Thanks for the response.

I'll leave this issue open.