Skip --native-tls in pip compile header (#9913)
## Summary I also omitted `--no-progress` (we omit `--verbose` and `--quiet` -- this seems similar). Part of: https://github.com/astral-sh/uv/issues/9873.
This commit is contained in:
@@ -637,6 +637,18 @@ fn cmd(
|
||||
return Some(None);
|
||||
}
|
||||
|
||||
// Always skip the `--no-progress` flag.
|
||||
if arg == "--no-progress" {
|
||||
*skip_next = None;
|
||||
return Some(None);
|
||||
}
|
||||
|
||||
// Always skip the `--native-tls` flag.
|
||||
if arg == "--native-tls" {
|
||||
*skip_next = None;
|
||||
return Some(None);
|
||||
}
|
||||
|
||||
// Return the argument.
|
||||
Some(Some(arg))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user