uv/crates/uv-cli
Charlie Marsh 4c1181b9e1
Make --universal and --python-platform mutually exclusive (#4598)
## Summary

Open to just making this a warning but no strong opinion.

Closes https://github.com/astral-sh/uv/issues/4593.

## Test Plan

Failure:

```
❯ echo "pandas==2.2.2" | cargo run pip compile --universal -p 3.11 --no-header - --python-platform linux
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
     Running `target/debug/uv pip compile --universal -p 3.11 --no-header - --python-platform linux`
error: the argument '--universal' cannot be used with '--python-platform <PYTHON_PLATFORM>'

Usage: uv pip compile --universal --python-version <PYTHON_VERSION> --no-header <SRC_FILE>...

For more information, try '--help'.
```
2024-06-27 18:51:44 +00:00
..
src Make --universal and --python-platform mutually exclusive (#4598) 2024-06-27 18:51:44 +00:00
build.rs Add standalone CLI crate (#4456) 2024-06-24 06:16:22 -04:00
Cargo.toml Add standalone CLI crate (#4456) 2024-06-24 06:16:22 -04:00