Merge pull request #19548 from WeiZhang555/remove-hard-coded
Remove hard coded 'docker' string from package Upstream-commit: b7a68d0252d0cfcfdd33612f2267c0da926c8a4c Component: engine
This commit is contained in:
@ -1163,7 +1163,7 @@ func (fs *FlagSet) ReportError(str string, withHelp bool) {
|
||||
str += ".\nSee '" + os.Args[0] + " " + fs.Name() + " --help'"
|
||||
}
|
||||
}
|
||||
fmt.Fprintf(fs.Out(), "docker: %s.\n", str)
|
||||
fmt.Fprintf(fs.Out(), "%s: %s.\n", os.Args[0], str)
|
||||
}
|
||||
|
||||
// Parsed reports whether fs.Parse has been called.
|
||||
|
||||
Reference in New Issue
Block a user