-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cargo help logout
suggests running itself
#11884
Comments
#11473 added the The challenge is actually having a way to remove the suggestion since we are spawning a new process with |
I'd be happy to write the man page for the |
The man page was intentionally not added because the command is nightly-only, and there is no mechanism to "hide" it from the website or |
Since I don't think there are any real blockers, I went ahead and proposed to stabilize the command in #11910. If that passes, we can just add the docs while stabilizing. |
Problem
The output of
cargo help logout
ends with “Runcargo help logout
for more detailed information.”, but that was already what I was running. Running it again gives the same information again, not more detailed.Steps
Run
cargo +nightly help logout
. Output:Possible Solution(s)
For logout in particular, make
cargo help logout
actually print more information. The information I was looking for in particular is: doeslogout
remove$CARGO_HOME/credentials.toml
, does it revoke the token server-side, or both?In general, in case this does or could happen for other (or future new) commands: when no detailed help page is available, having
cargo help $COMMAND
default to printing the same ascargo $COMMAND --help
instead is fine. But in that case neither command should suggest runningcargo help $COMMAND
for more information that isn’t there.Notes
No response
Version
The text was updated successfully, but these errors were encountered: