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

Remove redundant alias information from CLI #1237

Merged
merged 2 commits into from
Jul 20, 2024

Conversation

piotrgredowski
Copy link
Contributor

Remove redundant information about toolchain fetch being an alias of toolchain fetch.

image

@nikhilweee
Copy link
Contributor

I just noticed this today. Glad to see a PR already.

@@ -10,7 +10,7 @@ use crate::pyproject::PyProject;
use crate::sources::py::PythonVersionRequest;
use crate::utils::CommandOutput;

/// Fetches a Python interpreter for the local machine. This is an alias of `rye toolchain fetch`.
/// Fetches a Python interpreter for the local machine
Copy link
Contributor

@bluss bluss Jul 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This note is also visible in rye -h for fetch. Does that change too with this PR, or does it come from somewhere else?

See also rye install, rye uninstall.

Copy link
Contributor Author

@piotrgredowski piotrgredowski Jul 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks that changing this docstring for this struct affects every place where it's referenced.
image
image

Remove redundant information about aliases
@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Jul 20, 2024
@charliermarsh charliermarsh changed the title Update fetch.rs Remove redundant alias information from CLI Jul 20, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) July 20, 2024 16:00
@charliermarsh charliermarsh merged commit e93210a into astral-sh:main Jul 20, 2024
8 checks passed
@piotrgredowski piotrgredowski deleted the piotrgredowski-patch-1 branch July 20, 2024 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants