Signed-off-by: Cao Weiwei <cao.weiwei30@zte.com.cn>
Upstream-commit: cec564984eff0d850b9ea5814958cda8996f8d4e
Component: engine
This commit is contained in:
Cao Weiwei
2016-08-28 21:30:14 +08:00
parent 76de74a73a
commit 0647af3a04
+1 -1
View File
@@ -17,7 +17,7 @@ func SetupRootCommand(rootCmd *cobra.Command) {
rootCmd.PersistentFlags().MarkShorthandDeprecated("help", "please use --help")
}
// FlagErrorFunc prints an error messages which matches the format of the
// FlagErrorFunc prints an error message which matches the format of the
// docker/docker/cli error messages
func FlagErrorFunc(cmd *cobra.Command, err error) error {
if err == nil {