diff --git a/src/github.com/matrix-org/go-neb/services/github/github.go b/src/github.com/matrix-org/go-neb/services/github/github.go index ca3fc2f..245c7c0 100644 --- a/src/github.com/matrix-org/go-neb/services/github/github.go +++ b/src/github.com/matrix-org/go-neb/services/github/github.go @@ -89,7 +89,7 @@ func (s *Service) requireGithubClientFor(userID string) (cli *gogithub.Client, r } const numberGithubSearchSummaries = 3 -const cmdGithubSearchUsage = `!github search "search query"` +const cmdGithubSearchUsage = `!github search owner/repo "search query"` func (s *Service) cmdGithubSearch(roomID, userID string, args []string) (interface{}, error) { cli := s.githubClientFor(userID, true) @@ -560,6 +560,7 @@ func (s *Service) Commands(cli *gomatrix.Client) []types.Command { cmdGithubAssignUsage, cmdGithubCloseUsage, cmdGithubReopenUsage, + cmdGithubSearchUsage, }, "\n"), }, nil },