From db945f0653866efb4b480b25c5ac80ba38e33db9 Mon Sep 17 00:00:00 2001 From: Asato Wakisaka Date: Thu, 2 Nov 2017 17:09:06 +0900 Subject: [PATCH] fix hostId in usage. --- commands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.go b/commands.go index 08feb88b..133f6ad2 100644 --- a/commands.go +++ b/commands.go @@ -138,7 +138,7 @@ var commandUpdate = cli.Command{ var commandThrow = cli.Command{ Name: "throw", Usage: "Post metric values", - ArgsUsage: "[--host | -h ] [--service | -s ] stdin", + ArgsUsage: "[--host | -H ] [--service | -s ] stdin", Description: ` Post metric values to 'host metric' or 'service metric'. Output format of metric values are compatible with that of a Sensu plugin. @@ -154,7 +154,7 @@ var commandThrow = cli.Command{ var commandMetrics = cli.Command{ Name: "metrics", Usage: "Fetch metric values", - ArgsUsage: "[--host | -h ] [--service | -s ] [--name | -n ] --from int --to int", + ArgsUsage: "[--host | -H ] [--service | -s ] [--name | -n ] --from int --to int", Description: ` Fetch metric values of 'host metric' or 'service metric'. Requests "/api/v0/hosts//metrics" or "/api/v0/services//tsdb".