feat: 更新扩展命令以支持大小写变体的处理和测试
This commit is contained in:
@@ -55,7 +55,7 @@ func ParseArgs(args []string) (ParseResult, error) {
|
||||
filteredDisplay := make([]string, 0, len(display))
|
||||
noOps := make([]string, 0)
|
||||
for i, canon := range canonical {
|
||||
if canon == targetCanonical {
|
||||
if canon == targetCanonical && display[i] == target {
|
||||
noOps = append(noOps, display[i])
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user