From 02c8e5409f184c3a79d93013cd23f0e3585cb871 Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Tue, 20 Apr 2021 21:12:45 +0100 Subject: [PATCH] Updating help message --- README.md | 6 +++--- cmd/root.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4301200..03629f7 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Then you can run any of the commands bellow. ``` $ gcapi-cli --help -gcapi-cli is a tool that allows an easy access to the Grafana Cloud API. +gcapi-cli is a tool that allows an easy access to the Grafana Cloud API and Grafana API. Usage: gcapi-cli [flags] @@ -71,8 +71,8 @@ Available Commands: version Show version Flags: - -t, --cloud-api-token string Grafana Cloud API token - -f, --cloud-api-token-file string path to a file containing the Grafana Cloud API token + -t, --cloud-api-token string token used to authenticate to the Grafana Cloud API + -f, --cloud-api-token-file string path to a file containing the token used to authenticate to the Grafana Cloud API -h, --help help for gcapi-cli --timestamps enable Log timestamps -v, --version version for gcapi-cli diff --git a/cmd/root.go b/cmd/root.go index 24c2d21..998d087 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -28,7 +28,7 @@ var flags = rootFlags{} var rootCmd = &cobra.Command{ Use: "gcapi-cli", Short: "Tool to access Grafana Cloud API", - Long: "gcapi-cli is a tool that allows an easy access to the Grafana Cloud API.", + Long: "gcapi-cli is a tool that allows an easy access to the Grafana Cloud API and Grafana API.", SilenceErrors: true, SilenceUsage: true, Version: version.GetVersion(),