(title, body string)
| 205 | } |
| 206 | |
| 207 | func (d *ShellDoc) Add(title, body string) { |
| 208 | if body != "" { |
| 209 | d.Groups = append(d.Groups, ShellDocSection{Title: title, Body: body}) |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | func (d *ShellDoc) AddSection(title, body string) { |
| 214 | d.Groups = append(d.Groups, ShellDocSection{Title: title, Body: body, Indent: helpIndent}) |
no outgoing calls
no test coverage detected