diff --git a/crates/arc-workflows/src/cli/run.rs b/crates/arc-workflows/src/cli/run.rs index 337d870f8..1bf5dc913 100644 --- a/crates/arc-workflows/src/cli/run.rs +++ b/crates/arc-workflows/src/cli/run.rs @@ -274,7 +274,8 @@ pub async fn run_command( let goal = graph.goal(); if !goal.is_empty() { - eprintln!("{} {goal}\n", styles.bold.apply_to("Goal:")); + let first_line = goal.lines().next().unwrap_or(&goal); + eprintln!("{} {first_line}\n", styles.bold.apply_to("Goal:")); } print_diagnostics(&diagnostics, styles);