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

Subcommands now show binary as cargo-checkmate-SUBCOMMAND #26

Conversation

AloeareV
Copy link
Contributor

Fixes #23... Sort of. Clap expects the subcommand name to be part of the bin name (it has custom logic to replace whitespace in the binary name with -s, with the commented example being to rename the subcommand git mv as git-mv).

That said, I've gotten it so that it now lists the binary as cargo-checkmate-doc instead of doc.

@AloeareV AloeareV force-pushed the fix_missing_bin_name_subcommand_help branch from 1551fae to d938083 Compare February 24, 2022 21:22
@nathan-at-least
Copy link
Contributor

It looks like this is an open structopt bug: TeXitoi/structopt#391

I'll merge this PR and add a new ticket to adopt the fix for TeXitoi/structopt#391 whenever it lands.

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.

Fix subcommand help usage to name the correct program.
2 participants