From 7864eaad891e7e88b71bcc1c11ef022e06f516a1 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 13 Jan 2021 10:24:43 -0800 Subject: [PATCH] [skip changelog] Make the command documentation of cache clean more clear The terms "cache" and "clean" might bring compilation to mind, but the `arduino-cli cache clean` command has nothing to do with compilation. Many users will likely not even be aware of the existence or purpose of the `directories.downloads` folder. For this reason, it's important to make the purpose of this command clear. --- cli/cache/clean.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/cache/clean.go b/cli/cache/clean.go index ecac2048dba..5603e72aab1 100644 --- a/cli/cache/clean.go +++ b/cli/cache/clean.go @@ -28,8 +28,8 @@ import ( func initCleanCommand() *cobra.Command { cleanCommand := &cobra.Command{ Use: "clean", - Short: "Clean arduino cache.", - Long: "Clean the files i.e. `~/arduino15/staging` in Linux.", + Short: "Delete Boards/Library Manager download cache.", + Long: "Delete contents of the `directories.downloads` folder, where archive files are staged during installation of libraries and boards platforms.", Example: " " + os.Args[0] + " cache clean", Args: cobra.NoArgs, Run: runCleanCommand,