UsageText to be passed from Command to App in startApp

This commit is contained in:
cpacifying 2021-03-15 17:03:22 +02:00 committed by GitHub
parent 13ded1e7c4
commit 9433f216ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,6 +227,7 @@ func (c *Command) startApp(ctx *Context) error {
}
app.Usage = c.Usage
app.UsageText = c.UsageText
app.Description = c.Description
app.ArgsUsage = c.ArgsUsage