Skip to content
Myr

Merge pull request #153 from eparis/remove-useless-assignment

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Eric Paris · committed by Eric Paris · parents d96b4f7, 1ac08d9 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • UsageTemple: remove useless variable assignment

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:command.go+1 added-1 removed
249 unmodified lines
250251 if c.HasParent() {252 return c.parent.UsageTemplate()253 } else {254 return `{{ $cmd := . }}Usage:{{if .Runnable}}254 return `Usage:{{if .Runnable}}255 {{.UseLine}}{{if .HasFlags}} [flags]{{end}}{{end}}{{if .HasSubCommands}}256 {{ .CommandPath}} [command]{{end}}{{if gt .Aliases 0}}257258Aliases:
857 unmodified lines