Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 3ecc943

Browse files
committed
cli: --min-age is replication lag
1 parent a976c4d commit 3ecc943

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Options:
185185
- `-v` or `--verbose` - Print extra info
186186
- `-i` or `--interactive` - Confirm queries, implies `--debug`
187187
- `--json` - Print JSONL output for machine readability
188-
- `--min-age` - Considers only rows older than specified.
188+
- `--min-age` - Considers only rows older than specified. Useful for specifying replication lag.
189189
Example: `--min-age=5min` ignores rows from the last 5 minutes.
190190
Valid units: `d, days, h, hours, min, minutes, mon, months, s, seconds, w, weeks, y, years`
191191
- `--max-age` - Considers only rows younger than specified. See `--min-age`.

data_diff/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
@click.option(
4545
"--min-age",
4646
default=None,
47-
help="Considers only rows older than specified. "
47+
help="Considers only rows older than specified. Useful for specifying replication lag."
4848
"Example: --min-age=5min ignores rows from the last 5 minutes. "
4949
f"\nValid units: {UNITS_STR}",
5050
)

0 commit comments

Comments
 (0)