Commit eb23096
authored
clarified the ins and outs of the --since flag on the logs cli command (#340)
<span data-mesa-description="start"></span>
## TL;DR
Clarified the `--since` flag's description for the `logs` CLI command,
specifying supported formats and maximum lookback period.
## Why we made these changes
To improve user clarity and reduce confusion regarding the accepted
duration formats (e.g., 'd' for days vs. 'h' for hours) and the
effective maximum lookback period for the `logs --since` flag.
## What changed?
- **packages/cli/cmd/logs.go**: Updated the `--since` flag's help text
to clearly define supported duration and timestamp formats, explicitly
stating that 'd' for days is not supported and advising the use of hours
instead. The maximum lookback period was also adjusted to 167 hours.
## Validation
- [ ] Verified `cli logs --help` output shows the updated and clarified
description for the `--since` flag.
- [ ] Confirmed the CLI correctly handles `--since` values within the
new 167-hour limit and rejects unsupported formats (like '1d').
<span data-mesa-description="end"></span>1 parent 50d8e47 commit eb23096
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments