Skip to content

Commit c30031b

Browse files
authored
[skip changelog] Make the command documentation of cache clean more clear (arduino#1135)
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.
1 parent 4e4368d commit c30031b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/cache/clean.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import (
2828
func initCleanCommand() *cobra.Command {
2929
cleanCommand := &cobra.Command{
3030
Use: "clean",
31-
Short: "Clean arduino cache.",
32-
Long: "Clean the files i.e. `~/arduino15/staging` in Linux.",
31+
Short: "Delete Boards/Library Manager download cache.",
32+
Long: "Delete contents of the `directories.downloads` folder, where archive files are staged during installation of libraries and boards platforms.",
3333
Example: " " + os.Args[0] + " cache clean",
3434
Args: cobra.NoArgs,
3535
Run: runCleanCommand,

0 commit comments

Comments
 (0)