Skip to content

Commit 0eead99

Browse files
cameroncookecodex
andcommitted
fix(cli): Reuse output style for next-step rendering
Remove the redundant argv.style alias and use the normalized outputStyle value when deciding whether to include CLI next steps. Co-Authored-By: Codex <noreply@openai.com>
1 parent 8206d7b commit 0eead99

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/cli/register-tool-commands.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ function registerToolSubcommand(
298298
const outputStyle: OutputStyle = argv.style === 'minimal' ? 'minimal' : 'normal';
299299
const socketPath = argv.socket as string;
300300
const logLevel = argv['log-level'] as string | undefined;
301-
const style = argv.style as string | undefined;
302301
const filePathRenderStyle = argv.filePathRenderStyle as FilePathRenderStyle | undefined;
303302
const verboseOutput = argv.verbose === true;
304303

@@ -409,7 +408,7 @@ function registerToolSubcommand(
409408
runtime: 'cli',
410409
outputStyle,
411410
filePathRenderStyle,
412-
includeNextSteps: style !== 'minimal',
411+
includeNextSteps: outputStyle !== 'minimal',
413412
});
414413
const writeJsonlFragment =
415414
outputFormat === 'jsonl'

0 commit comments

Comments
 (0)