Fix formatSettingsStatusShort doc comment to match output · Entire
Fix formatSettingsStatusShort doc comment to match output
b90cb19→main·
gtrrz-victor·21h ago·1 file·+2 added/-1 removed
Branch segment is appended regardless of enabled state.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Changes
1
cmd/entire/cli
Mstatus.go+2/-1
158 unmodified lines
159
160
161
162
162
163
164
165
166
158 unmodified lines
}
// formatSettingsStatusShort formats a short settings status line.
// Output format: "● Enabled · branch main" or "○ Disabled"
// Output format: "● Enabled · branch main" or "○ Disabled · branch main"
// (the branch segment is appended whenever it can be resolved).
func formatSettingsStatusShort(ctx context.Context, s *EntireSettings, sty statusStyles) string {
var b strings.Builder
Mcmd/entire/cli/status.go+2/-1