Skip to content

Fix e.g. → e.g., in view and experiments analyze help text#36695

Merged
pelikhan merged 4 commits into
mainfrom
copilot/deep-report-quick-win-fix-cli-flag-descriptions
Jun 3, 2026
Merged

Fix e.g. → e.g., in view and experiments analyze help text#36695
pelikhan merged 4 commits into
mainfrom
copilot/deep-report-quick-win-fix-cli-flag-descriptions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 3, 2026

The 2026-06-02 CLI consistency audit (H1) flagged 5+ flag descriptions using e.g. without the trailing comma. The originally identified 5 cases were already fixed on main; this PR addresses the 2 remaining occurrences in command Long descriptions that weren't caught.

Changes

  • pkg/cli/view_command.go: (e.g. issues, pull requests,(e.g., issues, pull requests,
  • pkg/cli/experiments_command.go: prefix, e.g. "my-workflow"prefix, e.g., "my-workflow"
  • pkg/cli/cli_consistency_help_test.go: Extended TestHelpTextUsesStandardEgPunctuation with assertions for view and experiments analyze to prevent regression

Copilot AI and others added 2 commits June 3, 2026 18:06
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CLI flag descriptions to use e.g., consistently Fix e.g. → e.g., in view and experiments analyze help text Jun 3, 2026
Copilot AI requested a review from gh-aw-bot June 3, 2026 18:08
@pelikhan pelikhan marked this pull request as ready for review June 3, 2026 19:58
Copilot AI review requested due to automatic review settings June 3, 2026 19:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes CLI help-text punctuation by fixing remaining e.g. occurrences to e.g., in command long descriptions, and adds regression coverage to ensure future help text adheres to the same convention.

Changes:

  • Update view command long help text to use (e.g., ...) punctuation.
  • Update experiments analyze command long help text to use e.g., punctuation.
  • Extend CLI consistency tests to assert the corrected punctuation for both commands.
Show a summary per file
File Description
pkg/cli/view_command.go Fixes e.g. punctuation in the view command Long help text.
pkg/cli/experiments_command.go Fixes e.g. punctuation in the experiments analyze subcommand Long help text.
pkg/cli/cli_consistency_help_test.go Adds assertions to prevent e.g., punctuation regressions in view and experiments analyze help text.
.github/workflows/deep-report.lock.yml Updates the generated workflow lock metadata body_hash (not mentioned in PR description).

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 4/4 changed files
  • Comments generated: 1

@@ -1,4 +1,4 @@
# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"b1378e3a94dc80144c9098262e28b1643aa88cc03737e623786dd73e87d8319f","body_hash":"d9aeb7d1ad73b83d345a7b34a53f3878ebc8fb846420f8e7cf5bb129711c0a4e","strict":true,"agent_id":"claude"}
# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"b1378e3a94dc80144c9098262e28b1643aa88cc03737e623786dd73e87d8319f","body_hash":"998dc32188e283fc86b37ca07bef72bd4c957f0282c50af482395434a8b2cb66","strict":true,"agent_id":"claude"}
@pelikhan pelikhan merged commit cc3fc53 into main Jun 3, 2026
@pelikhan pelikhan deleted the copilot/deep-report-quick-win-fix-cli-flag-descriptions branch June 3, 2026 20:03
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.

[deep-report] [quick-win] Fix CLI flag descriptions: e.g.e.g., (5+ occurrences, H1 from CLI consistency audit)

4 participants