From cd42b26a6ab3cc6b55187dcadf7843ae4434d10e Mon Sep 17 00:00:00 2001 From: Ivan Towlson Date: Fri, 30 Aug 2019 12:33:57 +1200 Subject: [PATCH] Distinct doc strings for repository-cache and repository-config Signed-off-by: Ivan Towlson --- pkg/cli/environment.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cli/environment.go b/pkg/cli/environment.go index b6b0b114b..b277cb421 100644 --- a/pkg/cli/environment.go +++ b/pkg/cli/environment.go @@ -68,8 +68,8 @@ func (s *EnvSettings) AddFlags(fs *pflag.FlagSet) { fs.BoolVar(&s.Debug, "debug", false, "enable verbose output") fs.StringVar(&s.RegistryConfig, "registry-config", s.RegistryConfig, "path to the registry config file") - fs.StringVar(&s.RepositoryConfig, "repository-config", s.RepositoryConfig, "path to the repositories config file") - fs.StringVar(&s.RepositoryCache, "repository-cache", s.RepositoryCache, "path to the repositories config file") + fs.StringVar(&s.RepositoryConfig, "repository-config", s.RepositoryConfig, "path to the file containing repository names and URLs") + fs.StringVar(&s.RepositoryCache, "repository-cache", s.RepositoryCache, "path to the file containing cached repository indexes") } // Init sets values from the environment.