Skip to content

Commit

Permalink
fix hostId in usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
astj committed Nov 2, 2017
1 parent 2303643 commit db945f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ var commandUpdate = cli.Command{
var commandThrow = cli.Command{
Name: "throw",
Usage: "Post metric values",
ArgsUsage: "[--host | -h <hostId>] [--service | -s <service>] stdin",
ArgsUsage: "[--host | -H <hostId>] [--service | -s <service>] stdin",
Description: `
Post metric values to 'host metric' or 'service metric'.
Output format of metric values are compatible with that of a Sensu plugin.
Expand All @@ -154,7 +154,7 @@ var commandThrow = cli.Command{
var commandMetrics = cli.Command{
Name: "metrics",
Usage: "Fetch metric values",
ArgsUsage: "[--host | -h <hostId>] [--service | -s <service>] [--name | -n <metricName>] --from int --to int",
ArgsUsage: "[--host | -H <hostId>] [--service | -s <service>] [--name | -n <metricName>] --from int --to int",
Description: `
Fetch metric values of 'host metric' or 'service metric'.
Requests "/api/v0/hosts/<hostId>/metrics" or "/api/v0/services/<serviceName>/tsdb".
Expand Down

0 comments on commit db945f0

Please sign in to comment.