diff --git a/lib/api/event.js b/lib/api/event.js index 167eb92..8641aca 100644 --- a/lib/api/event.js +++ b/lib/api/event.js @@ -150,7 +150,7 @@ module.exports = { getHelp: function(){ return [ "Event:", - " Commands:", + " Subcommands:", " get get the event with the provided ", " query query the event stream between and POSIX timestamps", " create <text> create a new event with <title> and <text>", diff --git a/lib/api/infrastructure.js b/lib/api/infrastructure.js index 5166f46..ee858c4 100644 --- a/lib/api/infrastructure.js +++ b/lib/api/infrastructure.js @@ -41,7 +41,7 @@ module.exports = { getHelp: function(){ return [ "Infrastructure:", - " Commands:", + " Subcommands:", " search <query> query for hosts or metrics with <query> (see http://docs.datadoghq.com/api/#search)", ]; }, diff --git a/lib/api/metric.js b/lib/api/metric.js index c5e53a2..c47e30d 100644 --- a/lib/api/metric.js +++ b/lib/api/metric.js @@ -152,7 +152,7 @@ module.exports = { getHelp: function(){ return [ "Metric:", - " Commands:", + " Subcommands:", " send <metric> <point> add a new datapoint for <metric> for right now", " query <from> <to> <query> query for <query> between <from> and <to> POSIX timestamps", "", diff --git a/lib/api/serviceCheck.js b/lib/api/serviceCheck.js index 39edf5f..3118c03 100644 --- a/lib/api/serviceCheck.js +++ b/lib/api/serviceCheck.js @@ -60,11 +60,10 @@ module.exports = { getHelp: function(){ return [ "Service Check:", - " Commands:", - " check <check> <host> <status> add a new service check for <check> and <host> at level <status>", + " Subcommands:", + " check <check> <host> <status> add a new service check for <check> and <host> at level <status> (0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN)", "", " Options:", - " <status> 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN", " --time <timestamp> the POSIX timestamp to use for the check", " --message <message> an optional message to accompany the check", " --tags <tags> a comma separated list of \"tag:value\"'s for the check" diff --git a/lib/api/tag.js b/lib/api/tag.js index cf38d9a..29d302e 100644 --- a/lib/api/tag.js +++ b/lib/api/tag.js @@ -222,7 +222,7 @@ module.exports = { getHelp: function(){ return [ "Tag:", - " Commands:", + " Subcommands:", " get_all get all tags", " get <host> get all tags for a given host", " remove <host> delete tags for a given host", diff --git a/lib/api/user.js b/lib/api/user.js index 728c419..76b6815 100644 --- a/lib/api/user.js +++ b/lib/api/user.js @@ -38,7 +38,7 @@ module.exports = { getHelp: function(){ return [ "User:", - " Commands:", + " Subcommands:", " invite <address>... invite the given list of e-mail addresses to your datadog org" ]; },