Skip to content

docs(audits): catalogue --debug=FLAGS verbosity matrix (#2113) - #3866

Merged
oferchen merged 1 commit into
masterfrom
docs/debug-flags-matrix-2113
May 7, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/debug-flags-matrix-2113

Conversation

@oferchen

@oferchen oferchen commented May 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds docs/audits/debug-flags-matrix.md for task #2113.

  • Master matrix of all 24 upstream --debug flags from
    options.c debug_words[] and the man page (ACL through TIME),
    with upstream max level, oc-rsync cap, side bits, help text,
    verbosity produced, and Wired/Parsed-only status.
  • Pseudo-flag table covering help, ALL, ALL<N>, 1, 0,
    NONE, NONE0, no<flag>/-<flag>, <flag><digit>, and
    unknown-token error wording.
  • -v ladder reproducing debug_verbosity[] rows 0..5 and
    documenting how from_verbose_level mirrors them.
  • Tracing-target bridge mapping (target_to_debug_flag,
    level_to_verbosity_level) so emitters reach the right flag.
  • Gaps section: ALL<N>/NONE0 not handled, per-flag caps missing
    for upstream-max-1 flags, no limit_output_verbosity peer clamp,
    16 Parsed-only flags awaiting subsystem ports, one-way generator
    alias.

Cites crates/logging/src/levels/debug.rs, crates/logging/src/config.rs,
crates/logging/src/tracing_bridge.rs, and
crates/cli/src/frontend/execution/flags/debug.rs.

208 lines, well under the 350-line cap.

Test plan

  • Hyphens only, no em-dashes.
  • Doc fits under the 350-line limit (208 lines).
  • Matrix matches debug_words[] 24-entry order and side-bit masks.
  • -v ladder rows match options.c:228-235 verbatim.

Document every upstream rsync 3.4.1 --debug flag, its level cap,
oc-rsync's parser handling, and which production sites emit on the
matching tracing target. Identifies eight Wired flags, sixteen
Parsed-only flags, and concrete gaps: ALL<N>/NONE0 not handled,
per-flag caps missing for upstream-max-1 flags, and no
limit_output_verbosity peer clamp.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen
oferchen merged commit 41af436 into master May 7, 2026
8 checks passed
@oferchen
oferchen deleted the docs/debug-flags-matrix-2113 branch May 8, 2026 03:48
oferchen added a commit that referenced this pull request May 18, 2026
Document every upstream rsync 3.4.1 --debug flag, its level cap,
oc-rsync's parser handling, and which production sites emit on the
matching tracing target. Identifies eight Wired flags, sixteen
Parsed-only flags, and concrete gaps: ALL<N>/NONE0 not handled,
per-flag caps missing for upstream-max-1 flags, and no
limit_output_verbosity peer clamp.
oferchen added a commit that referenced this pull request Aug 24, 2026
Document every upstream rsync 3.4.1 --debug flag, its level cap,
oc-rsync's parser handling, and which production sites emit on the
matching tracing target. Identifies eight Wired flags, sixteen
Parsed-only flags, and concrete gaps: ALL<N>/NONE0 not handled,
per-flag caps missing for upstream-max-1 flags, and no
limit_output_verbosity peer clamp.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant