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:
Doug Davis
2016-01-21 13:06:22 -05:00

View File

@ -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.