Merge pull request #9495 from muzimuzhi/web/drop-trailing-space-in-flag
Drop surplus trailing space char in flag names in web
This commit is contained in:
commit
2695983e40
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ type flagView struct {
|
|||
var flagsTemplate = `
|
||||
<dl class="flags">{{ range . }}
|
||||
<dt>{{ if .Shorthand }}<code>-{{.Shorthand}}</code>, {{ end }}
|
||||
<code>--{{.Name}}{{ if .Varname }} <{{.Varname}}>{{ end }}{{.DefValue}} </code></dt>
|
||||
<code>--{{.Name}}{{ if .Varname }} <{{.Varname}}>{{ end }}{{.DefValue}}</code></dt>
|
||||
<dd>{{.Usage}}</dd>
|
||||
{{ end }}</dl>
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue