typofix - https://github.com/vlajos/misspell_fixer
Signed-off-by: Veres Lajos <vlajos@gmail.com>
This commit is contained in:
parent
bad3b47438
commit
0f78f158aa
10 changed files with 10 additions and 10 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue