You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed golang on a Raspiberry PI and ran go clean -cache but got an "unknown command" error.
After running go install (I installed Hugo from it's source). go clean -cache is now a recongised command and doesn't error.
What did you expect to see?
I would expect the command to not say it is an unknown command on a fresh install and if there is nothing to clean, either exit with such a message or no message at all. Saying it is an "unknown command" is misleading.
$ go clean -cache
$ echo $?
What did you see instead?
$ go clean -cachego clean: unknown commandRun 'go help' for usage.
The text was updated successfully, but these errors were encountered: