diff --git a/crates/uv/src/commands/project/tree.rs b/crates/uv/src/commands/project/tree.rs index 09683d8d22f4..d389a15e43d1 100644 --- a/crates/uv/src/commands/project/tree.rs +++ b/crates/uv/src/commands/project/tree.rs @@ -43,7 +43,7 @@ pub(crate) async fn tree( printer: Printer, ) -> Result { if preview.is_disabled() { - warn_user_once!("`uv run` is experimental and may change without warning."); + warn_user_once!("`uv tree` is experimental and may change without warning."); } // Find the project requirements. diff --git a/crates/uv/tests/tree.rs b/crates/uv/tests/tree.rs index 8d8c4b4db536..bc96f9e77a35 100644 --- a/crates/uv/tests/tree.rs +++ b/crates/uv/tests/tree.rs @@ -38,7 +38,7 @@ fn nested_dependencies() -> Result<()> { └── threadpoolctl v3.4.0 ----- stderr ----- - warning: `uv run` is experimental and may change without warning. + warning: `uv tree` is experimental and may change without warning. Resolved 6 packages in [TIME] "### ); @@ -84,7 +84,7 @@ fn invert() -> Result<()> { (*) Package tree already displayed ----- stderr ----- - warning: `uv run` is experimental and may change without warning. + warning: `uv tree` is experimental and may change without warning. Resolved 6 packages in [TIME] "### ); @@ -107,7 +107,7 @@ fn invert() -> Result<()> { └── project v0.1.0 ----- stderr ----- - warning: `uv run` is experimental and may change without warning. + warning: `uv tree` is experimental and may change without warning. Resolved 6 packages in [TIME] "### ); @@ -141,7 +141,7 @@ fn frozen() -> Result<()> { └── sniffio v1.3.1 ----- stderr ----- - warning: `uv run` is experimental and may change without warning. + warning: `uv tree` is experimental and may change without warning. Resolved 4 packages in [TIME] "### ); @@ -174,7 +174,7 @@ fn frozen() -> Result<()> { └── sniffio v1.3.1 ----- stderr ----- - warning: `uv run` is experimental and may change without warning. + warning: `uv tree` is experimental and may change without warning. "### );