Browse Source

s/Commands/Subcommands/

pull/14/head
Brett Langdon 11 years ago
parent
commit
375a744ccb
6 changed files with 7 additions and 8 deletions
  1. +1
    -1
      lib/api/event.js
  2. +1
    -1
      lib/api/infrastructure.js
  3. +1
    -1
      lib/api/metric.js
  4. +2
    -3
      lib/api/serviceCheck.js
  5. +1
    -1
      lib/api/tag.js
  6. +1
    -1
      lib/api/user.js

+ 1
- 1
lib/api/event.js View File

@ -150,7 +150,7 @@ module.exports = {
getHelp: function(){ getHelp: function(){
return [ return [
"Event:", "Event:",
" Commands:",
" Subcommands:",
" get <event-id> get the event with the provided <event-id>", " get <event-id> get the event with the provided <event-id>",
" query <from> <to> query the event stream between <from> and <to> POSIX timestamps", " query <from> <to> query the event stream between <from> and <to> POSIX timestamps",
" create <title> <text> create a new event with <title> and <text>", " create <title> <text> create a new event with <title> and <text>",


+ 1
- 1
lib/api/infrastructure.js View File

@ -41,7 +41,7 @@ module.exports = {
getHelp: function(){ getHelp: function(){
return [ return [
"Infrastructure:", "Infrastructure:",
" Commands:",
" Subcommands:",
" search <query> query for hosts or metrics with <query> (see http://docs.datadoghq.com/api/#search)", " search <query> query for hosts or metrics with <query> (see http://docs.datadoghq.com/api/#search)",
]; ];
}, },


+ 1
- 1
lib/api/metric.js View File

@ -152,7 +152,7 @@ module.exports = {
getHelp: function(){ getHelp: function(){
return [ return [
"Metric:", "Metric:",
" Commands:",
" Subcommands:",
" send <metric> <point> add a new datapoint for <metric> for right now", " 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", " query <from> <to> <query> query for <query> between <from> and <to> POSIX timestamps",
"", "",


+ 2
- 3
lib/api/serviceCheck.js View File

@ -60,11 +60,10 @@ module.exports = {
getHelp: function(){ getHelp: function(){
return [ return [
"Service Check:", "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:", " Options:",
" <status> 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN",
" --time <timestamp> the POSIX timestamp to use for the check", " --time <timestamp> the POSIX timestamp to use for the check",
" --message <message> an optional message to accompany the check", " --message <message> an optional message to accompany the check",
" --tags <tags> a comma separated list of \"tag:value\"'s for the check" " --tags <tags> a comma separated list of \"tag:value\"'s for the check"


+ 1
- 1
lib/api/tag.js View File

@ -222,7 +222,7 @@ module.exports = {
getHelp: function(){ getHelp: function(){
return [ return [
"Tag:", "Tag:",
" Commands:",
" Subcommands:",
" get_all get all tags", " get_all get all tags",
" get <host> get all tags for a given host", " get <host> get all tags for a given host",
" remove <host> delete tags for a given host", " remove <host> delete tags for a given host",


+ 1
- 1
lib/api/user.js View File

@ -38,7 +38,7 @@ module.exports = {
getHelp: function(){ getHelp: function(){
return [ return [
"User:", "User:",
" Commands:",
" Subcommands:",
" invite <address>... invite the given list of e-mail addresses to your datadog org" " invite <address>... invite the given list of e-mail addresses to your datadog org"
]; ];
}, },


Loading…
Cancel
Save