-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Closed
Copy link
Labels
C-bugCategory: bugCategory: bugCommand-infoE-easyExperience: EasyExperience: EasyS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Description
Problem
I expected the commands to be equivalent:
cargo info esp_println # with _
cargo info esp-println # with -The latter is the actual name and runs fine. The former (with underscore) instead, says:
error: could not find
esp_printlnin registryhttps://github.com/rust-lang/crates.io-index
Steps
cargo info esp_println # with _
cargo info esp-println # with -Possible Solution(s)
Both should return the same output.
But if this is intentional a help message here suggesting replacing _ with - would be helpful.
I would say the same about -F flag, they should both be consistent with add imho and check for both _ and -.
Thanks for this great software, it's one of my favourites ever.
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bugCommand-infoE-easyExperience: EasyExperience: EasyS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.