 #
 # Commands:
 #   hubot datadog graph <graph> <range> - take a graph snapshot using the Datadog API
-#   hubot datadog graph config add <graph> <query>
-#   hubot datadog graph config list
-#   hubot datadog graph config remove <graph>
+#   hubot datadog graph config - list datadog graphs (queries)
+#   hubot datadog graph config add <graph> <query> - add datadog graph (query)
+#   hubot datadog graph config remove <graph> - remove datadog graph (query)
 #
 # Author:
 #   bouzuya <m@bouzuya.net>

      res.robot.logger.error e
      res.send 'hubot-datadog-graph: error'

  # config add
  pattern2 = new RegExp(basePattern + 'config\\s+add\\s+([-\\w]+)\\s+(.+)$')
  robot.respond pattern2, (res) ->

    robot.brain.data.queries[graph] = query
    res.send 'OK'

  # config remove
  pattern4 = new RegExp(basePattern + 'config\\s+remove\\s+([-\\w]+)')
  robot.respond pattern4, (res) ->
