From 7df62f7668c7fbeafd6dbb45ad0294f4ea08c0ec Mon Sep 17 00:00:00 2001 From: namusyaka Date: Sat, 5 Dec 2020 04:34:11 +0900 Subject: [PATCH] fix typos (#1274) --- command.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command.go b/command.go index 77b399e02..2b82a553d 100644 --- a/command.go +++ b/command.go @@ -964,13 +964,13 @@ func (c *Command) ExecuteC() (cmd *Command, err error) { return cmd, nil } - // If root command has SilentErrors flagged, + // If root command has SilenceErrors flagged, // all subcommands should respect it if !cmd.SilenceErrors && !c.SilenceErrors { c.PrintErrln("Error:", err.Error()) } - // If root command has SilentUsage flagged, + // If root command has SilenceUsage flagged, // all subcommands should respect it if !cmd.SilenceUsage && !c.SilenceUsage { c.Println(cmd.UsageString())