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

Generate man pages with clap_mangen #273

Merged
merged 4 commits into from
Oct 11, 2022
Merged

Conversation

figsoda
Copy link
Member

@figsoda figsoda commented Oct 3, 2022

  • Update dependencies (most notably clap 4)
  • Generate man pages using clap_mangen (updated ci accordingly as well)
  • Apply clippy lints
  • I realized I put some of my changelog entries in the wrong version in previous pull requests so I moved them to the correct places

This breaks backwards compatibility for maintainers (not users)

I didn't update indicatif in this pr because breaking changes were introduced, I will do that in a separate pr

@figsoda figsoda changed the title Generate man pages Generate man pages with clap_mangen Oct 3, 2022
Copy link
Member

@marcospb19 marcospb19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, it is looking neat!

image

The weird thing with this man page generation is that flags like --yes do not expect a value.

$ cargo run -q -- --yes=true
error: The value 'true' was provided to '--yes' but it wasn't expecting any more values

Usage: ouch --yes <COMMAND>

For more information try '--help'

We'll see if it is fixed in next versions of clap.

@marcospb19 marcospb19 merged commit f8e6075 into ouch-org:main Oct 11, 2022
@figsoda figsoda deleted the mangen branch October 12, 2022 02:05
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.

None yet

2 participants