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

[scrape] multiline description of options aren't scraped properly #61

Open
ildar opened this issue Dec 29, 2024 · 0 comments
Open

[scrape] multiline description of options aren't scraped properly #61

ildar opened this issue Dec 29, 2024 · 0 comments

Comments

@ildar
Copy link

ildar commented Dec 29, 2024

$ echo "
  --allow-untrusted     Install packages with untrusted signature or no
                        signature
" |  complgen scrape
 | --allow-untrusted "Install packages with untrusted signature or no"

i.e. second line is cut off.

I'd propose:

  1. fixing the issue shown above
  2. (ideally) add an option to cut off the description beyond the 1st dot (.) Then the description would be just the 1st sentence of the full help.

Then the scd docs could be parsed automatically.

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

No branches or pull requests

1 participant