Skip to content

Commit c3500fa

Browse files
committed
fix: update span view hint to use new positional syntax
The hint in span list still referenced the removed --trace flag. Updated to: 'sentry span view <trace-id> <span-id>'
1 parent e2c9215 commit c3500fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/span/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export const listCommand = buildCommand({
301301
const countText = `Showing ${flatSpans.length} span${flatSpans.length === 1 ? "" : "s"}.`;
302302
hint = hasMore
303303
? `${countText} Use --limit to see more.`
304-
: `${countText} Use 'sentry span view <span-id> --trace ${traceId}' to view span details.`;
304+
: `${countText} Use 'sentry span view ${traceId} <span-id>' to view span details.`;
305305
}
306306

307307
yield new CommandOutput({ flatSpans, hasMore, traceId });

0 commit comments

Comments
 (0)