Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix documentation for python platform (#3220)
<!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary The option `--platform` for `uv pip compile` was added in #3111 and was later renamed to `--python-platform` #3146. This PR updates the documentation such that the listed option is working again. ## Test Plan ```bash ❯ uv --version uv 0.1.37 (645d039 2024-04-23) ``` Before: ```bash ❯ uv pip compile requirements.in --platform=linux error: unexpected argument '--platform' found tip: to pass '--platform' as a value, use '-- --platform' Usage: uv pip compile <SRC_FILE>... For more information, try '--help'. ``` After: ```bash ❯ uv pip compile requirements.in --python-platform=linux Resolved 1 package in 215ms # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --python-platform=linux uv==0.1.37 ```
- Loading branch information