From a71eaeaf5223128727ba275a3e5f3d0e0c3e59e4 Mon Sep 17 00:00:00 2001 From: Rauno Viskus Date: Thu, 8 Aug 2024 20:09:25 +0300 Subject: [PATCH] docs(repo_index): explicitly state that the result is written to the directory passed in Signed-off-by: Rauno Viskus --- cmd/helm/repo_index.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/helm/repo_index.go b/cmd/helm/repo_index.go index fb7ec811fdf..0b94725efba 100644 --- a/cmd/helm/repo_index.go +++ b/cmd/helm/repo_index.go @@ -29,14 +29,16 @@ import ( ) const repoIndexDesc = ` -Read the current directory and generate an index file based on the charts found. +Read the current directory, generate an index file based on the charts found +and write the result to 'index.yaml' in the current directory. This tool is used for creating an 'index.yaml' file for a chart repository. To set an absolute URL to the charts, use '--url' flag. To merge the generated index with an existing index file, use the '--merge' flag. In this case, the charts found in the current directory will be merged -into the existing index, with local charts taking priority over existing charts. +into the index passed in with --merge, with local charts taking priority over +existing charts. ` type repoIndexOptions struct {