Repository navigation
放宽 CLI 命令、选项和镜像代号的大小写限制 - #428
Open
Mikachu2333 wants to merge 5 commits into
Open
Mikachu2333 wants to merge 5 commits into
Mikachu2333 wants to merge 5 commits into
Conversation
|
Hi @Mikachu2333 ❤️ 感谢你的贡献!我们将在最少半小时,最多5天内阅读此 PR 并回复你 |
ccmywish
requested changes
Nov 28, 2026
Contributor
C:\> gcc --version
gcc.exe (GCC) 15.2.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\> gcc --VERsion
gcc.exe: error: unrecognized command-line option '--VERsion'; did you mean '--version'?
gcc.exe: fatal error: no input files
compilation terminated.似乎并没有把用户选项接受大小写无关的传统。我觉得没有必要放宽选项。 用户输入的镜像站名称可以大小写无关。 |
Collaborator
Author
|
也有道理,我主要是想支持镜像站和关键词大小写的,想着做都做了,就连选项一起免大小写 |
ccmywish
requested changes
Nov 29, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
从 #407 拆出大小写比较变更,直接基于
dev,不包含 Dry Run 行为修改。-SCOPE=PROJECT与-ScOpE PrOjEcT均可用。验证:Windows 原生构建及
test/cli.pl fastcheck(28/28);Debian WSL 构建及make test-xy通过。