Skip to content

Commit

Permalink
Fix uv init --no-project alias (#6837)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored Aug 29, 2024
1 parent 2215448 commit 97e6861
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/uv-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 97e6861

Please sign in to comment.