Skip to content

Commit 4fda612

Browse files
cursoragentjgorres
andcommitted
docs: describe --start-of-week defaults for top-level weekly
Co-authored-by: jgorres <[email protected]>
1 parent be87563 commit 4fda612

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎docs/guide/cli-options.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ccusage daily --last 7
4242
ccusage monthly --last 3
4343
```
4444

45-
The count is inclusive of the current period, so `--last 2` on a daily report covers yesterday and today. Weeks start on the same day the report buckets by, which is Monday everywhere except `ccusage claude weekly`, where `--start-of-week` decides.
45+
The count is inclusive of the current period, so `--last 2` on a daily report covers yesterday and today. Weeks start on the same day the report buckets by: Monday by default and Sunday for `ccusage claude weekly`, unless `--start-of-week` on `ccusage weekly` or `ccusage claude weekly` sets another day.
4646

4747
`--last` works on every daily, weekly, and monthly report, including the per-agent ones such as `ccusage codex daily --last 1`. It is not available on `session`, `blocks`, or `statusline`, which have no calendar period, and it cannot be combined with `--since`, `--until`, or `--sections`.
4848

‎docs/guide/weekly-reports.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ The columns are identical to daily reports but aggregated by week:
4747
Configure which day starts the week:
4848

4949
```bash
50-
# Start week on Sunday (default)
51-
ccusage weekly --start-of-week sunday
52-
53-
# Start week on Monday
50+
# Start week on Monday (default for ccusage weekly)
5451
ccusage weekly --start-of-week monday
5552
ccusage weekly -w monday
5653

54+
# Start week on Sunday (default for ccusage claude weekly)
55+
ccusage weekly --start-of-week sunday
56+
5757
# Other options: tuesday, wednesday, thursday, friday, saturday
5858
```
5959

0 commit comments

Comments
 (0)