mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 10:33:49 +00:00
Fix uv init --no-project
alias (#6837)
This commit is contained in:
parent
2215448a8e
commit
97e6861b35
1 changed files with 2 additions and 4 deletions
|
@ -2172,13 +2172,11 @@ pub struct InitArgs {
|
|||
#[arg(long)]
|
||||
pub no_readme: bool,
|
||||
|
||||
/// Avoid discovering a workspace.
|
||||
///
|
||||
/// Instead, create a standalone project.
|
||||
/// Avoid discovering a workspace and create a standalone project.
|
||||
///
|
||||
/// By default, uv searches for workspaces in the current directory or any
|
||||
/// parent directory.
|
||||
#[arg(long, alias = "no_project")]
|
||||
#[arg(long, alias = "no-project")]
|
||||
pub no_workspace: bool,
|
||||
|
||||
/// The Python interpreter to use to determine the minimum supported Python version.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue