uv-cache: Add hidden alias for --no-cache-dir (#1380)
This is for compatability with pip install --no-cache-dir Closes https://github.com/astral-sh/uv/issues/1373 Signed-off-by: mikcl <mikesmikes400@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@ use crate::Cache;
|
||||
#[derive(Parser, Debug, Clone)]
|
||||
pub struct CacheArgs {
|
||||
/// Avoid reading from or writing to the cache.
|
||||
#[arg(global = true, long, short)]
|
||||
#[arg(global = true, long, short, alias = "no-cache-dir")]
|
||||
no_cache: bool,
|
||||
|
||||
/// Path to the cache directory.
|
||||
|
||||
Reference in New Issue
Block a user