Permalink
Browse files

Cleaned up docs to format properly with 'help'

Notes and Hubot commands were previously mixed up, rendering the
Hubot 'help' command messy
  • Loading branch information...
1 parent de4993b commit a38cad9d4111e8340948d077169eefa80263088f @Iristyle Iristyle committed Aug 22, 2012
Showing with 6 additions and 7 deletions.
  1. +6 −7 src/scripts/github-issues.coffee
@@ -13,18 +13,17 @@
# HUBOT_GITHUB_USER_(.*)
#
# Commands:
-# If HUBOT_GITHUB_USER is set, you can ask `show me issues for hubot` instead
-# of `show me issues for github/hubot`.
-#
-# If HUBOT_GITHUB_REPO is set, you can ask `show me issues` instead of `show
-# me issues for github/hubot`.
+# hubot show [me] [<limit> [of]] [<assignee>'s|my] [<label>] issues [for <user/repo>] [about <query>] -- Shows open GitHub issues for repo.
+# hubot show [me] issues for <repo> -- List all issues for given repo IFF HUBOT_GITHUB_USER configured
+# hubot show [me] issues for <user/repo> -- List all issues for given repo
+# hubot show [me] issues -- Lists all issues IFF HUBOT_GITHUB_REPO configured
+# hubot show <chat user's> issues -- Lists all issues for chat user IFF HUBOT_GITHUB_USER_(.*) configured
#
+# Notes:
# If, for example, HUBOT_GITHUB_USER_JOHN is set to GitHub user login
# 'johndoe1', you can ask `show john's issues` instead of `show johndoe1's
# issues`. This is useful for mapping chat handles to GitHub logins.
#
-# hubot show [me] [<limit> [of]] [<assignee>'s|my] [<label>] issues [for <user/repo>] [about <query>] -- Shows open GitHub issues for repo.
-#
# Author:
# davidsiegel

0 comments on commit a38cad9

Please sign in to comment.