-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
When -v is passed with --list, display path to custom commands #5041
When -v is passed with --list, display path to custom commands #5041
Conversation
r? @matklad (rust_highfive has picked a reviewer for you, use r? to override) |
Seems like a nifty idea to me! @rust-lang/cargo thoughts about this new feature? |
Sounds neat to me! |
Maybe it makes sense to have a verbatim output of just the |
@bors r+ Thanks @pwoolcoc @lukaslueg do you have a particular use-case for this in mind though? I'd rather not make promises about particular output format until we have a solid understanding of the use-case. |
📌 Commit f76db9c has been approved by |
…erbose, r=matklad When -v is passed with --list, display path to custom commands With this change, output of `cargo --list` changes slightly when 1 or more `-v` flags are passed: ``` ± ./target/debug/cargo --list -v Installed Commands: add /path/to/home/.cargo/bin/cargo-add bench build canoe /path/to/home/.cargo/bin/cargo-canoe check clean do /path/to/home/.cargo/bin/cargo-do doc fetch fmt /path/to/home/.cargo/bin/cargo-fmt ... ```
☀️ Test successful - status-appveyor, status-travis |
With this change, output of
cargo --list
changes slightly when 1 or more-v
flags are passed: