nedbat/scriv

[Bug] Minor Visual Bug: `collect` Description Truncated in `--help` Text

kevinmatthes opened this issue · 4 comments

Hello, @nedbat,

First of all, thank you for your tool!

When trying to set up Scriv for one of my repositories, I encountered a minor visual bug in the --help text of the application. When calling

scriv --help

with the latest version, v0.17.0, installed from the Python Package Index, the description of the subcommand collect is truncated; see line 12:

Usage: scriv [OPTIONS] COMMAND [ARGS]...

  Manage changelogs.

  Version 0.17.0

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  collect         Collect fragments and produce a combined entry in the...
  create          Create a new scriv changelog fragment.
  github-release  Create or update GitHub releases from the changelog.

This is neither a critical nor an urgent bug, it is just reported for completeness.

Sadly, click has an issue about this behavior which has been closed and locked without a real answer: pallets/click#486

Thank you for the link! I have found the answer which I am going to submit in a new Pull Request.

pallets/click#486 (comment) is a workaround which I submitted as #65 -- with a changelog entry, of course.

Fixed in e7500f3.