From 97e6861b35843145116906514336508355588cb9 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 29 Aug 2024 17:40:19 -0500 Subject: [PATCH] Fix `uv init --no-project` alias (#6837) --- crates/uv-cli/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index d1e922593ac0..c6131cc8eae7 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -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.