From 3e152db847b9b2ba9d62a5b3142dfa6a492e53c2 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Sat, 21 Mar 2015 15:07:43 -0400 Subject: [PATCH] add infrastructure help text --- lib/api/infrastructure.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/api/infrastructure.js b/lib/api/infrastructure.js index 73e1deb..5166f46 100644 --- a/lib/api/infrastructure.js +++ b/lib/api/infrastructure.js @@ -38,6 +38,13 @@ module.exports = { "${command} infrastructure search " ] }, + getHelp: function(){ + return [ + "Infrastructure:", + " Commands:", + " search query for hosts or metrics with (see http://docs.datadoghq.com/api/#search)", + ]; + }, handleCli: function(subcommand, args, callback){ var query = args._[4]; search(query, callback);