From 1f61adc4a20fe532e9242df83d7950e3cfe7472e Mon Sep 17 00:00:00 2001 From: Thorsten de Buhr Date: Wed, 6 Sep 2023 09:40:08 +0200 Subject: [PATCH] Fixed error message if a pack cannot be found in current index.pidx --- cmd/errors/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/errors/errors.go b/cmd/errors/errors.go index 1070124..0a0a902 100644 --- a/cmd/errors/errors.go +++ b/cmd/errors/errors.go @@ -87,7 +87,7 @@ var ( ErrPackVersionNotFoundInPdsc = errors.New("pack version not found in the pdsc file") ErrPackVersionNotLatestReleasePdsc = errors.New("pack version is not the latest in the pdsc file") ErrPackVersionNotAvailable = errors.New("target pack version is not available") - ErrPackURLCannotBeFound = errors.New("URL for the pack cannot be determined. Please consider updating the public index. Ex: cpackget index --force https://keil.com/pack/index.pidx") + ErrPackURLCannotBeFound = errors.New("URL for the pack cannot be determined. Please consider updating the public index. Ex: cpackget update-index") // Hack to allow multiple error logs while still avoiding duplicating the last error log ErrAlreadyLogged = errors.New("already logged")