Merge pull request #289 from KSubedi/master
Added command to have a custom text on the USAGE section of help
This commit is contained in:
@@ -24,6 +24,7 @@ func ExampleApp_Run() {
|
||||
app.Action = func(c *Context) {
|
||||
fmt.Printf("Hello %v\n", c.String("name"))
|
||||
}
|
||||
app.UsageText = "app [first_arg] [second_arg]"
|
||||
app.Author = "Harrison"
|
||||
app.Email = "harrison@lolwut.com"
|
||||
app.Authors = []Author{Author{Name: "Oliver Allen", Email: "oliver@toyshop.com"}}
|
||||
|
Reference in New Issue
Block a user