We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39b5a91 commit 7df62f7Copy full SHA for 7df62f7
command.go
@@ -964,13 +964,13 @@ func (c *Command) ExecuteC() (cmd *Command, err error) {
964
return cmd, nil
965
}
966
967
- // If root command has SilentErrors flagged,
+ // If root command has SilenceErrors flagged,
968
// all subcommands should respect it
969
if !cmd.SilenceErrors && !c.SilenceErrors {
970
c.PrintErrln("Error:", err.Error())
971
972
973
- // If root command has SilentUsage flagged,
+ // If root command has SilenceUsage flagged,
974
975
if !cmd.SilenceUsage && !c.SilenceUsage {
976
c.Println(cmd.UsageString())
0 commit comments