From f9f4801a13907427b21269f962308a7e1b77191b Mon Sep 17 00:00:00 2001 From: MatteoPologruto Date: Wed, 19 Nov 2025 12:29:25 +0100 Subject: [PATCH] fix: improve error message when dest-dir is not a directory --- download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.go b/download.go index 6197139..19643a3 100644 --- a/download.go +++ b/download.go @@ -47,7 +47,7 @@ func runDownloadCommand(args []string, destDir string) { targetVersion := args[0] downloadPath := paths.New(destDir) if !downloadPath.IsDir() { - feedback.Fatal(i18n.Tr("error: %s is not a directory", destDir), feedback.ErrBadArgument) + feedback.Fatal(i18n.Tr("error: %s is not a directory. Please, select an existing directory.", destDir), feedback.ErrBadArgument) } client := updater.NewClient()