Skip to content

Ambiguous property: Command.name #5282

Answered by epage
matteosantama asked this question in Q&A
Discussion options

You must be logged in to vote

Command::name unfortunately cannot change anything about how cargo compiles your binary.

Command::name is implicitly set for subcommands, like you Start subcommand. For top-level commands, it can act as a display name in --help though we no longer add it to --help by default. One example use is cargo subcommands.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by matteosantama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants