Skip to content

Commit 26f56c7

Browse files
committed
fix(sync): reword --continuous hint (no siphon cdc command exists yet)
1 parent ca2dd66 commit 26f56c7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

internal/app/sync.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ type SyncOpts struct {
1717
// CrossEngine routes through the canonical-schema path (e.g. postgres→mysql)
1818
// instead of the native homogeneous stream. Gated on driver capability.
1919
CrossEngine bool
20-
// Continuous requests CDC follow mode. Not wired here — see `siphon cdc`
21-
// (Phase F Task 10). Setting it returns a clear CodeUser error.
20+
// Continuous requests CDC follow mode. Not yet available (Phase F ships CDC
21+
// as an internal scaffold only). Setting it returns a clear CodeUser error.
2222
Continuous bool
2323
}
2424

@@ -37,7 +37,7 @@ func Sync(parent context.Context, d Deps, opt SyncOpts) (<-chan jobs.Event, stri
3737
Op: "sync.continuous",
3838
Code: errs.CodeUser,
3939
Cause: errs.ErrDriverUnsupported,
40-
Hint: "continuous CDC sync is not wired here; use `siphon cdc` (Phase F Task 10)",
40+
Hint: "continuous CDC sync is not yet available (Phase F follow-up); see docs/CDC.md",
4141
}
4242
}
4343

internal/cli/sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ func newSyncCmd() *cobra.Command {
4444
cmd.Flags().BoolVar(&stream, "stream", true, "Stream source→target without intermediate file")
4545
cmd.Flags().StringSliceVar(&tables, "table", nil, "Limit to these tables")
4646
cmd.Flags().BoolVar(&crossEngine, "cross-engine", false, "Translate between engines via canonical schema (requires cross-engine driver support; not yet available)")
47-
cmd.Flags().BoolVar(&continuous, "continuous", false, "Continuously follow source changes (CDC); use `siphon cdc` (Phase F Task 10)")
47+
cmd.Flags().BoolVar(&continuous, "continuous", false, "Continuously follow source changes (CDC) — not yet available; see docs/CDC.md")
4848
return cmd
4949
}

0 commit comments

Comments
 (0)