fix(native): name the CLI flag that selects another plist

rea inspect-plist takes the target as its positional path and selects a
plist with --relative-path, so "Pass path" pointed CLI callers at the
wrong argument. Name the MCP path input and the CLI flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kaoru0822andClaude Opus 5.5 committed 2026-10-09 09:32:24 +00:00
1 parent a6fdf426bd
commit 9b6950373c
2 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -820,7 +820,7 @@ const unreadablePlist = (
): AnalysisError => {
const sentence = reason.endsWith(".") ? reason : `${reason}.`;
// Name the default that is missing and the selection that still works.
const missingDefault = `The target has no readable Contents/Info.plist at ${path}: ${sentence} Pass path to inspect another plist.`;
const missingDefault = `The target has no readable Contents/Info.plist at ${path}: ${sentence} Select another plist in the target with the path input (CLI: --relative-path).`;
return requested === undefined
? new AnalysisCapabilityUnavailableError(
IDENTITY.id,
@@ -113,12 +113,10 @@ describe.skipIf(process.platform !== "darwin")(
expect(result.exitCode).toBe(1);
expect(result.json).toMatchObject({
code: "capability_unavailable",
message: expect.stringContaining(
"Pass path to inspect another plist",
),
message: expect.stringContaining("(CLI: --relative-path)"),
remediation: {
action: expect.stringContaining(
"Pass path to inspect another plist",
"Select another plist in the target with the path input (CLI: --relative-path).",
),
},
details: {