Skip to content

fix(cli): clarify suppress-warnings help text - #172

Merged
luojiyin1987 merged 1 commit into
masterfrom
fix/suppress-warnings-help-text
Aug 22, 2026
Merged

fix(cli): clarify suppress-warnings help text#172
luojiyin1987 merged 1 commit into
masterfrom
fix/suppress-warnings-help-text

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

Closes #171

改动

     .option(
       "-s, --suppress-warnings",
-      "suppress all warnings, that means warnings will not block CI(抑制所有警告,这意味着警告不会阻止 CI)"
+      "do not let warnings affect the exit code(忽略 warning 对退出码的影响)"
     )

理由

旧文案 "suppress all warnings" 与实现不符:warning 仍然显示,只是不参与退出码判定。README 的描述一直是准确的,本 PR 让 CLI help 与 README、实际实现对齐。

  • 零行为变化
  • 不改 option 名,无 breaking change
  • 1 行 diff

验证

  • --help 输出新文案
  • typecheck 通过、25 suites / 217 tests 全绿

@luojiyin1987
luojiyin1987 merged commit 4664ed5 into master Aug 22, 2026
6 checks passed
@luojiyin1987
luojiyin1987 deleted the fix/suppress-warnings-help-text branch August 22, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(cli): clarify suppress-warnings help text

1 participant