Fix typo
Signed-off-by: Cao Weiwei <cao.weiwei30@zte.com.cn> Upstream-commit: cec564984eff0d850b9ea5814958cda8996f8d4e Component: engine
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user