Skip to content

docs(audits): CLI argument parity vs rsync(1) man page (#2109) - #4032

Merged
oferchen merged 1 commit into
masterfrom
docs/cli-argument-parity-audit-2109
May 14, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/cli-argument-parity-audit-2109

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

Adds a fresh man-page-lens CLI argument parity audit at
docs/audits/cli-argument-parity-vs-rsync-manpage.md. The audit cross-references
the 116 client + 14 daemon long options documented in upstream rsync.1.md (3.4.1)
against oc-rsync's clap parser at crates/cli/src/frontend/command_builder/, with
strict MISSING / PARTIAL / EXTRA categories and a top-5 remediation ranking
by user impact.

Headline results:

  • 0 MISSING: oc-rsync accepts every long option the upstream man page advertises.
  • 2 PARTIAL: --copy-as (no-op on Windows pending token impersonation) and
    --skip-compress (per-file codec switching is a no-op upstream too).
  • 21 EXTRA: oc-only flags catalogued with rationale (io_uring policy,
    zero-copy, ssh-* transport tuning, AES toggles, rayon/tokio thread bounds, etc.).
    All are stripped from argv before remote invocation to preserve wire compatibility.
  • Coverage: 100% accepted, ~98.5% fully honoured.

Top 5 remediation targets (none are MISSING; all are PARTIAL closures or parity polish):
--copy-as Windows impersonation, -a help-text parenthetical, --info=help/
--debug=help golden output, --debug=nstr wording, --stop-at timezone parity.

This complements the existing audits (cli-argument-parity.md, cli-parity-audit.md,
cli-parity-vs-rsync-man.md, cli-parity-vs-man-page.md), which use the
long_options[] C popt table or a short-flag-composition lens. The new file
adopts the man-page-as-contract lens requested by the tracking task and uses
strict gap categories so remediation can be sequenced by user impact.

Tracking: oc-rsync task #2109.

Test plan

  • CI fmt + clippy passes (docs-only change, no code touched).
  • CI Linux nextest passes.
  • CI Windows nextest passes.
  • CI macOS nextest passes.
  • CI musl nextest passes.
  • All man-page line cites (rsync.1.md:N) resolve to the documented option
    introduction line.
  • All clap-side cites (crates/cli/src/frontend/command_builder/.../file.rs:N)
    resolve to the documented .long("...") call.

Adds a fresh man-page-lens audit at docs/audits/cli-argument-parity-vs-rsync-manpage.md
that cross-references all 116 client + 14 daemon long options documented in
rsync(1) against oc-rsync's clap parser, with strict MISSING / PARTIAL /
EXTRA categories and a top-5 remediation ranking by user impact.

- Zero MISSING options: oc-rsync accepts every long flag the upstream man
  page advertises.
- 2 PARTIAL: --copy-as (no-op on Windows token impersonation),
  --skip-compress (per-file codec switching is a no-op upstream too).
- 21 EXTRA oc-only flags catalogued with intentional-vs-accidental
  rationale (io_uring policy, zero-copy, ssh-* transport tuning, AES
  toggles, perf thread bounds, etc.).
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 14, 2026
@oferchen
oferchen merged commit b5f5329 into master May 14, 2026
8 checks passed
@oferchen
oferchen deleted the docs/cli-argument-parity-audit-2109 branch May 14, 2026 14:57
oferchen added a commit that referenced this pull request May 18, 2026
Adds a fresh man-page-lens audit at docs/audits/cli-argument-parity-vs-rsync-manpage.md
that cross-references all 116 client + 14 daemon long options documented in
rsync(1) against oc-rsync's clap parser, with strict MISSING / PARTIAL /
EXTRA categories and a top-5 remediation ranking by user impact.

- Zero MISSING options: oc-rsync accepts every long flag the upstream man
  page advertises.
- 2 PARTIAL: --copy-as (no-op on Windows token impersonation),
  --skip-compress (per-file codec switching is a no-op upstream too).
- 21 EXTRA oc-only flags catalogued with intentional-vs-accidental
  rationale (io_uring policy, zero-copy, ssh-* transport tuning, AES
  toggles, perf thread bounds, etc.).
oferchen added a commit that referenced this pull request Aug 24, 2026
Adds a fresh man-page-lens audit at docs/audits/cli-argument-parity-vs-rsync-manpage.md
that cross-references all 116 client + 14 daemon long options documented in
rsync(1) against oc-rsync's clap parser, with strict MISSING / PARTIAL /
EXTRA categories and a top-5 remediation ranking by user impact.

- Zero MISSING options: oc-rsync accepts every long flag the upstream man
  page advertises.
- 2 PARTIAL: --copy-as (no-op on Windows token impersonation),
  --skip-compress (per-file codec switching is a no-op upstream too).
- 21 EXTRA oc-only flags catalogued with intentional-vs-accidental
  rationale (io_uring policy, zero-copy, ssh-* transport tuning, AES
  toggles, perf thread bounds, etc.).
oferchen added a commit that referenced this pull request Aug 24, 2026
Adds a fresh man-page-lens audit at docs/audits/cli-argument-parity-vs-rsync-manpage.md
that cross-references all 116 client + 14 daemon long options documented in
rsync(1) against oc-rsync's clap parser, with strict MISSING / PARTIAL /
EXTRA categories and a top-5 remediation ranking by user impact.

- Zero MISSING options: oc-rsync accepts every long flag the upstream man
  page advertises.
- 2 PARTIAL: --copy-as (no-op on Windows token impersonation),
  --skip-compress (per-file codec switching is a no-op upstream too).
- 21 EXTRA oc-only flags catalogued with intentional-vs-accidental
  rationale (io_uring policy, zero-copy, ssh-* transport tuning, AES
  toggles, perf thread bounds, etc.).
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