diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-02-25 10:58:39 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-02-25 10:58:39 +0800 |
| commit | 6bd344793e5c2e84361475d6e221007ef21faaad (patch) | |
| tree | 4d2cb4148b534381b5d110b97a690d8bfd921855 /src/systems/cmd/errors.rs | |
| parent | 5f3d4892a12189e88e692eabdd5f8fe68c79b23e (diff) | |
Remove ambiguous command error and auto-select longest match
Diffstat (limited to 'src/systems/cmd/errors.rs')
| -rw-r--r-- | src/systems/cmd/errors.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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<String>), - #[error("Parse error")] ParseError(String), |
