Skip to content

docs: hard wrap help text for options#1854

Merged
mre merged 2 commits intolycheeverse:masterfrom
rina-forks:help-wrap
Sep 15, 2025
Merged

docs: hard wrap help text for options#1854
mre merged 2 commits intolycheeverse:masterfrom
rina-forks:help-wrap

Conversation

@katrinafyi
Copy link
Member

most of the options already have hard-wrapped long_help. however, for a few options which defined their help text in /// comments, these would get joined into one long line. this was the [inputs], --scheme, and --cookie-jar.

i've sorted the lines in --help by length before and after this change:
old.txt
new.txt

previously, the longest line was 353 characters and after this change it is 126.

this change will make the cli options webpage a bit easier to read, as it makes you scroll to the right if the line is long. though, maybe other solutions can be done instead (maybe generate markdown from the options, or maybe enable wrapping on the webpage).

@mre
Copy link
Member

mre commented Sep 15, 2025

Definitely an improvement. Thanks!

@mre mre merged commit f7c7cd5 into lycheeverse:master Sep 15, 2025
6 checks passed
@mre mre mentioned this pull request Sep 15, 2025
This was referenced Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants