Browse Source

update help text for metric command

pull/14/head
Brett Langdon 11 years ago
parent
commit
67290f61d8
1 changed files with 9 additions and 4 deletions
  1. +9
    -4
      lib/api/metric.js

+ 9
- 4
lib/api/metric.js View File

@ -151,10 +151,15 @@ module.exports = {
}, },
getHelp: function(){ getHelp: function(){
return [ return [
"Metric Options:",
" --tags <tags> a comma separated list of \"tag:value\"'s",
" --host <host> the hostname that should be associated with this metric",
" --type <type> the type of metric \"gauge\" or \"counter\""
"Metric:",
" Commands:",
" 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",
"",
" Options:",
" --tags <tags> a comma separated list of \"tag:value\"'s",
" --host <host> the hostname that should be associated with this metric",
" --type <type> the type of metric \"gauge\" or \"counter\""
] ]
}, },
handleCli: function(subcommand, args, callback){ handleCli: function(subcommand, args, callback){


Loading…
Cancel
Save