We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 995d73d commit 80d0f76Copy full SHA for 80d0f76
1 file changed
writeas/cli.go
@@ -171,6 +171,20 @@ func main() {
171
},
172
}
173
174
+ cli.CommandHelpTemplate = `NAME:
175
+ {{.Name}} - {{.Usage}}
176
+
177
+USAGE:
178
+ writeas {{.Name}}{{if .Flags}} [command options]{{end}} [arguments...]{{if .Description}}
179
180
+DESCRIPTION:
181
+ {{.Description}}{{end}}{{if .Flags}}
182
183
+OPTIONS:
184
+ {{range .Flags}}{{.}}
185
+ {{end}}{{ end }}
186
+`
187
188
app.Run(os.Args)
189
190
0 commit comments