Skip to content

Commit be65433

Browse files
committed
PCSM-219: Remove external decision references from comments
- Replace decision references with self-documenting comments - Comments now describe what/why, not where it was decided
1 parent cd7ffc1 commit be65433

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

main.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,18 +333,16 @@ func main() {
333333
rootCmd.Flags().MarkHidden("reset-state") //nolint:errcheck
334334
rootCmd.Flags().MarkHidden("pause-on-initial-sync") //nolint:errcheck
335335

336-
// MongoDB client options (visible per stakeholder decision #3)
336+
// MongoDB client timeout (visible: commonly needed for debugging)
337337
rootCmd.PersistentFlags().String("mongodb-cli-operation-timeout", "",
338338
"Timeout for MongoDB operations (e.g., 30s, 5m)")
339-
// NOTE: NOT marking as hidden per stakeholder decision
340339

341-
// Internal option (hidden, has env var support per decision #5)
340+
// Bulk write option (hidden: internal tuning)
342341
rootCmd.PersistentFlags().Bool("use-collection-bulk-write", false,
343342
"Use collection-level bulk write instead of client bulk write")
344343
rootCmd.PersistentFlags().MarkHidden("use-collection-bulk-write") //nolint:errcheck
345344

346-
// Clone tuning options (hidden - for advanced tuning)
347-
// NOTE: These are CLI/HTTP-only, NO env var support per stakeholder decision #2
345+
// Clone tuning options (hidden: advanced tuning, CLI/HTTP only)
348346
rootCmd.PersistentFlags().Int("clone-num-parallel-collections", 0,
349347
"Number of collections to clone in parallel (0 = auto)")
350348
rootCmd.PersistentFlags().Int("clone-num-read-workers", 0,

0 commit comments

Comments
 (0)