Fix incorrect error missing for missing required args.

This commit is contained in:
Alec Thomas
2018-08-14 21:05:21 +10:00
parent f0bd1294a7
commit ebe508cf46
3 changed files with 21 additions and 2 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ func printCommand(w *helpWriter, app *Application, cmd *Command) {
}
printNodeDetail(w, cmd)
if w.Summary && app.HelpFlag != nil {
w.Printf(`Run "%s %s --help" for more information.`, app.Name, cmd.FullPath())
w.Print("")
w.Printf(`Run "%s --help" for more information.`, cmd.FullPath())
}
}