Skip to content

Commit 12200b5

Browse files
betegonclaude
andcommitted
revert: remove alias hints from help output
Reverts the inline alias hints — aliases should only be excluded from SKILL.md generation, not decorated in the help output. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ae6e5de commit 12200b5

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

src/lib/help.ts

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,6 @@ import {
2424

2525
const TAGLINE = "The command-line interface for Sentry";
2626

27-
/** Singular route name → plural shortcut (e.g. "issue" → "issues") */
28-
const SHORTCUT_ALIASES: Record<string, string> = {
29-
issue: "issues",
30-
org: "orgs",
31-
project: "projects",
32-
repo: "repos",
33-
team: "teams",
34-
log: "logs",
35-
span: "spans",
36-
trace: "traces",
37-
trial: "trials",
38-
};
39-
4027
type HelpCommand = {
4128
usage: string;
4229
description: string;
@@ -65,13 +52,9 @@ function generateCommands(): HelpCommand[] {
6552
const subNames = subEntries
6653
.map((sub: RouteMapEntry) => sub.name.original)
6754
.join(" | ");
68-
const alias = SHORTCUT_ALIASES[routeName];
69-
const description = alias
70-
? `${brief} (alias: sentry ${alias})`
71-
: brief;
7255
return {
7356
usage: `sentry ${routeName} ${subNames}`,
74-
description,
57+
description: brief,
7558
};
7659
}
7760

0 commit comments

Comments
 (0)