Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/commands/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export function registerDocsCommand(program: Command): void {
if (!op.ok) {
if (op.reason === "offline") {
diagnostic(OFFLINE_MSG);
} else if (op.reason === "ambiguous") {
diagnostic(
`Multiple documentation pages match "${resource} ${operation}": ${op.matches?.join(", ")}. Use an exact Docs slug.`
);
} else if (op.operations) {
diagnostic(
`Unknown operation "${operation}" for resource "${resource}". Available: ${formatOpHint(op.operations)}`
Expand Down
Loading
Loading