From a4c441c2019491534d4d810e1e053ca84a17c7c2 Mon Sep 17 00:00:00 2001 From: stack72 Date: Tue, 19 May 2026 23:32:28 +0100 Subject: [PATCH] fix(cli): update error message to reference --stdin flag Co-Authored-By: Claude Opus 4.6 (1M context) --- src/cli/commands/model_method_run.ts | 2 +- src/cli/commands/workflow_run.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/commands/model_method_run.ts b/src/cli/commands/model_method_run.ts index 5b638725..4175a7db 100644 --- a/src/cli/commands/model_method_run.ts +++ b/src/cli/commands/model_method_run.ts @@ -204,7 +204,7 @@ export const modelMethodRunCommand = new Command() if (stdinContent !== null) { if (options.inputFile) { throw new UserError( - "Cannot combine piped stdin with --input-file.", + "Cannot combine --stdin with --input-file.", ); } stdinItems = parseStdinContent(stdinContent); diff --git a/src/cli/commands/workflow_run.ts b/src/cli/commands/workflow_run.ts index 2ba0d1c4..e5c1237e 100644 --- a/src/cli/commands/workflow_run.ts +++ b/src/cli/commands/workflow_run.ts @@ -180,7 +180,7 @@ export const workflowRunCommand = new Command() if (stdinContent !== null) { if (options.inputFile) { throw new UserError( - "Cannot combine piped stdin with --input-file.", + "Cannot combine --stdin with --input-file.", ); } stdinItems = parseStdinContent(stdinContent);