add quotes to brew --cache in help for cleanup command

This commit is contained in:
Yurii Kolesnykov 2018-09-17 01:18:31 +03:00
parent 2d8d412cd4
commit de2700c9b6
No known key found for this signature in database
GPG Key ID: 725379F6ADCB49E5
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
#:
#: If `-s` is passed, scrub the cache, including downloads for even the latest
#: versions. Note downloads for any installed formula or cask will still not
#: be deleted. If you want to delete those too: `rm -rf $(brew --cache)`
#: be deleted. If you want to delete those too: `rm -rf "$(brew --cache)"`
require "cleanup"
require "cli_parser"

View File

@ -62,7 +62,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
If `-s` is passed, scrub the cache, including downloads for even the latest
versions. Note downloads for any installed formula or cask will still not
be deleted. If you want to delete those too: `rm -rf $(brew --cache)`
be deleted. If you want to delete those too: `rm -rf "$(brew --cache)"`
* `command` `cmd`:
Display the path to the file which is used when invoking `brew` `cmd`.

View File

@ -65,7 +65,7 @@ If \fB\-\-prune=\fR\fIdays\fR is specified, remove all cache files older than \f
If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, show what would be removed, but do not actually remove anything\.
.
.IP
If \fB\-s\fR is passed, scrub the cache, including downloads for even the latest versions\. Note downloads for any installed formula or cask will still not be deleted\. If you want to delete those too: \fBrm \-rf $(brew \-\-cache)\fR
If \fB\-s\fR is passed, scrub the cache, including downloads for even the latest versions\. Note downloads for any installed formula or cask will still not be deleted\. If you want to delete those too: \fBrm \-rf "$(brew \-\-cache)"\fR
.
.IP "\(bu" 4
\fBcommand\fR \fIcmd\fR: Display the path to the file which is used when invoking \fBbrew\fR \fIcmd\fR\.