From 6bd344793e5c2e84361475d6e221007ef21faaad Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 25 Feb 2026 10:58:39 +0800 Subject: Remove ambiguous command error and auto-select longest match --- src/systems/cmd/errors.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/systems/cmd/errors.rs') diff --git a/src/systems/cmd/errors.rs b/src/systems/cmd/errors.rs index 0b01abf..abde5de 100644 --- a/src/systems/cmd/errors.rs +++ b/src/systems/cmd/errors.rs @@ -8,6 +8,7 @@ pub enum CmdPrepareError { #[error("{0}")] Error(String), + // Workspace Reader Errors #[error("LocalWorkspace not found")] LocalWorkspaceNotFound, @@ -110,9 +111,6 @@ pub enum CmdProcessError { #[error("No matching command found")] NoMatchingCommand, - #[error("Ambiguous command, multiple matches found")] - AmbiguousCommand(Vec), - #[error("Parse error")] ParseError(String), -- cgit