Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help output is missing newlines #184

Open
untitaker opened this issue Jan 4, 2025 · 0 comments
Open

Help output is missing newlines #184

untitaker opened this issue Jan 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@untitaker
Copy link
Owner

untitaker commented Jan 4, 2025

Since the move from clap to argh, the help output for dump-paragraphs and other commands is missing newlines entirely: hyperlink help dump-paragraphs

Usage: hyperlink dump-paragraphs --file <file>

Dump out internal data for markdown or html file. This is mostly useful to figure out why a source file is not properly matched up with its target html file. NOTE: This is a tool for debugging and development. Usage:    vimdiff <(hyperlink dump-paragraphs src/foo.md) <(hyperlink dump-paragraphs public/foo.html) Each line on the left represents a Markdown paragraph. Each line on the right represents a HTML paragraph. If there are minor formatting differences in two lines that are supposed to match, you found the issue that needs fixing in `src/paragraph.rs`. There may also be entire lines missing from either side, in which case the logic for detecting paragraphs needs adjustment, either in `src/markdown.rs` or `src/html.rs`. Note that the output for HTML omits paragraphs that do not have links, while for Markdown all paragraphs are dumped.

There are some upstream PRs in argh that went nowhere.

@untitaker untitaker added the bug Something isn't working label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant