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:
Jesse Szwedko
2016-02-06 13:12:10 -08:00
4 changed files with 7 additions and 1 deletions

View File

@@ -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"}}