Skip to content

Commit

Permalink
Clarify parameter syntax in bridge help message
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Sep 4, 2023
1 parent 691b96a commit 3fffe3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bridge/commands/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ func FormatHelp(ce *Event) string {
}
_, _ = fmt.Fprintf(&output, prefixMsg, ce.Bridge.Config.Bridge.GetCommandPrefix())
output.WriteByte('\n')
output.WriteString("Parameters in [square brackets] are optional, while parameters in <angle brackets> are required.")
output.WriteByte('\n')
output.WriteByte('\n')

for _, section := range sortedSections {
Expand Down

0 comments on commit 3fffe3f

Please sign in to comment.