We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29ee8ee commit 35153a9Copy full SHA for 35153a9
1 file changed
cmd/docs/docs.go
@@ -66,7 +66,7 @@ func runDocsCommand(clients *shared.ClientFactory, cmd *cobra.Command, args []st
66
// Validate: if there are arguments, --search flag must be used
67
if len(args) > 0 && !cmd.Flags().Changed("search") {
68
return slackerror.New(slackerror.ErrDocsSearchFlagRequired).WithRemediation(
69
- "Use --search flag: %s",
+ "Use --search flag: %s",
70
style.Commandf(fmt.Sprintf("docs --search \"%s\"", args[0]), false),
71
)
72
}
0 commit comments