Skip to content

Commit 7236fc1

Browse files
committed
fix: revert --since alias — Stricli only supports single-char aliases
Stricli AvailableAlias type is LowercaseLetter | UppercaseLetter, so multi-character keys like "since" are silently ignored at runtime. Updated agent guidance to only reference --period and -t.
1 parent f407b1b commit 7236fc1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/src/content/docs/agent-guidance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ sentry dashboard widget add <dashboard> "Top Endpoints" --display table \
154154

155155
### Time filtering
156156

157-
Use `--period` (aliases: `-t`, `--since`) to filter by time window:
157+
Use `--period` (alias: `-t`) to filter by time window:
158158

159159
```bash
160160
sentry trace list --period 1h
161-
sentry span list --since 24h
161+
sentry span list --period 24h
162162
sentry span list -t 7d
163163
```
164164

plugins/sentry-cli/skills/sentry-cli/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ sentry dashboard widget add <dashboard> "Top Endpoints" --display table \
164164

165165
#### Time filtering
166166

167-
Use `--period` (aliases: `-t`, `--since`) to filter by time window:
167+
Use `--period` (alias: `-t`) to filter by time window:
168168

169169
```bash
170170
sentry trace list --period 1h
171-
sentry span list --since 24h
171+
sentry span list --period 24h
172172
sentry span list -t 7d
173173
```
174174

src/lib/list-command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export const LIST_PERIOD_FLAG = {
299299
* Exported separately from `LIST_BASE_ALIASES` because not all list commands
300300
* need a period flag, and some commands already use `-t` for other purposes.
301301
*/
302-
export const PERIOD_ALIASES = { t: "period", since: "period" } as const;
302+
export const PERIOD_ALIASES = { t: "period" } as const;
303303

304304
/**
305305
* Alias map shared by all list commands.

0 commit comments

Comments
 (0)