Skip to content

Commit aae3511

Browse files
committed
docs: drop the three-step example from the workflow name rule
The "cmd1+cmd2+cmd3" illustration outlived the count-based cut it came from and now implies a limit the code no longer has.
1 parent b25898a commit aae3511

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

internal/tui/update_workflow.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ func workflowNameSegments(cmds []string) (shown []string, tail string) {
4545
return shown, tail
4646
}
4747

48-
// suggestWorkflowName proposes "cmd1+cmd2+cmd3" (a "+n" tail counts any
49-
// step that did not fit) from the picked commands, so workflow names
50-
// show what they run. A numeric suffix resolves collisions with existing
51-
// workflow names.
48+
// suggestWorkflowName proposes a name listing the picked commands joined
49+
// with "+", so workflow names show what they run. A "+n" tail counts any
50+
// step that did not fit the budget, and a numeric suffix resolves
51+
// collisions with existing workflow names.
5252
func (m Model) suggestWorkflowName() string {
5353
return m.suggestWorkflowNameFor(m.pendingWorkflowCmds, -1)
5454
}

0 commit comments

Comments
 (0)