added flag to have a custom text on the USAGE section of help

This commit is contained in:
Kaushal Subedi
2015-10-24 23:37:21 -06:00
parent f445c89440
commit 8b46886de8
2 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,8 @@ type Command struct {
Aliases []string
// A short description of the usage of this command
Usage string
// Custom text to show on USAGE section of help
UsageText string
// A longer explanation of how the command works
Description string
// A short description of the arguments of this command