Skip to content

docs: fix doctor command section — missing per-action output and flag descriptions#15

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-documentation-issues
Closed

docs: fix doctor command section — missing per-action output and flag descriptions#15
Copilot wants to merge 2 commits intomainfrom
copilot/fix-documentation-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 5, 2026

The doctor command section in the README omitted per-action output from its "Shows:" list and left --quiet/--verbose undescribed, despite those flags behaving differently from their apply counterparts.

What was wrong

  • Per-action output unmentioned: doctor prints per-action lines by default (same format as apply), but the "Shows:" list didn't include them.
  • --quiet divergence undocumented: apply --quiet suppresses all human-readable output; doctor --quiet only suppresses per-action lines — TARGET, SOURCE, INCLUDE, and SUMMARY are always printed.
  • --verbose undescribed: for doctor, --verbose surfaces a "no matched files" message when no files match (unlike apply where --verbose adds the include status line and ensures the SUMMARY is shown even on no-op).

Changes

  • Added --quiet and --verbose flag descriptions to the doctor section, clarifying the narrower scope of --quiet.
  • Added per-action lines (with the --quiet suppression note) to the "Shows:" bullet list.

Copilot AI changed the title [WIP] Fix discrepancies between documentation and code docs: fix doctor command section — missing per-action output and flag descriptions Apr 5, 2026
Copilot AI requested a review from satococoa April 5, 2026 02:10
@satococoa satococoa marked this pull request as ready for review April 5, 2026 02:11
Copilot AI review requested due to automatic review settings April 5, 2026 02:11
Copy link
Copy Markdown

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

Updates the README’s doctor command documentation to reflect its actual human-readable output and to document --quiet/--verbose behavior differences vs apply.

Changes:

  • Documented doctor flags --quiet and --verbose, including --quiet’s narrower suppression scope.
  • Expanded the doctor “Shows:” list to include per-action output (and its suppression under --quiet).

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

- `--from`: same as `apply`
- `--include`: same as `apply`
- `--quiet`: suppress per-action output (target root, source, include status, and summary are always shown)
- `--verbose`: print "no matched files" message when no files are matched
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

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

The quoted message for doctor --verbose doesn’t match the actual output. The CLI prints No matched ignored files. (capitalized, with period), not "no matched files". Consider updating this description to match the exact message or rephrase without quoting a specific string.

Suggested change
- `--verbose`: print "no matched files" message when no files are matched
- `--verbose`: print an additional message when no ignored files are matched

Copilot uses AI. Check for mistakes.
Comment on lines +105 to +106
- `--quiet`: suppress per-action output (target root, source, include status, and summary are always shown)
- `--verbose`: print "no matched files" message when no files are matched
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

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

doctor rejects using --quiet and --verbose together (usage error), but this isn’t mentioned in the flag descriptions. Since this section now documents both flags, it would be helpful to add a short note that they are mutually exclusive.

Suggested change
- `--quiet`: suppress per-action output (target root, source, include status, and summary are always shown)
- `--verbose`: print "no matched files" message when no files are matched
- `--quiet`: suppress per-action output (target root, source, include status, and summary are always shown); mutually exclusive with `--verbose`
- `--verbose`: print "no matched files" message when no files are matched; mutually exclusive with `--quiet`

Copilot uses AI. Check for mistakes.
@satococoa satococoa closed this Apr 5, 2026
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.

3 participants