mirror of https://github.com/astral-sh/uv
Add `--link-mode` defaults to CLI (#2549)
This commit is contained in:
parent
5637ce3887
commit
2e65092be0
|
|
@ -495,6 +495,9 @@ struct PipSyncArgs {
|
|||
refresh_package: Vec<PackageName>,
|
||||
|
||||
/// The method to use when installing packages from the global cache.
|
||||
///
|
||||
/// Defaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and
|
||||
/// Windows.
|
||||
#[clap(long, value_enum, default_value_t = install_wheel_rs::linker::LinkMode::default())]
|
||||
link_mode: install_wheel_rs::linker::LinkMode,
|
||||
|
||||
|
|
@ -740,6 +743,9 @@ struct PipInstallArgs {
|
|||
no_deps: bool,
|
||||
|
||||
/// The method to use when installing packages from the global cache.
|
||||
///
|
||||
/// Defaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and
|
||||
/// Windows.
|
||||
#[clap(long, value_enum, default_value_t = install_wheel_rs::linker::LinkMode::default())]
|
||||
link_mode: install_wheel_rs::linker::LinkMode,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue