Signed-off-by: Veres Lajos <vlajos@gmail.com>
This commit is contained in:
Veres Lajos 2015-08-07 23:24:18 +01:00
parent bad3b47438
commit 0f78f158aa
10 changed files with 10 additions and 10 deletions

View file

@ -1094,7 +1094,7 @@ func (fs *FlagSet) ParseFlags(args []string, withHelp bool) error {
}
// ReportError is a utility method that prints a user-friendly message
// containing the error that occured during parsing and a suggestion to get help
// containing the error that occurred during parsing and a suggestion to get help
func (fs *FlagSet) ReportError(str string, withHelp bool) {
if withHelp {
if os.Args[0] == fs.Name() {