fix(commands): remove examples from command discovery

This commit is contained in:
tiennm99 committed 2026-07-21 13:52:53 +07:00
1 parent b5c7427520
commit a211b7f8b7
22 files changed
+47 -154

No files matched your search

-3
View File
@@ -50,9 +50,6 @@ func RenderHelp(reg *modules.Registry) string {
fmt.Fprintf(&sb, "\n%s %s",
html.EscapeString(command.InvocationSentence()),
html.EscapeString(command.SummarySentence()))
if example := command.ExampleInvocation(); example != "" {
fmt.Fprintf(&sb, " Eg: <code>%s</code>", html.EscapeString(example))
}
}
sections = append(sections, sb.String())
}