Merge pull request #4917 from yurikoles/fix-cleanup-doc
add quotes surrounding $(brew --cache) in help for cleanup command
This commit is contained in:
		
						commit
						d639559c4d
					
				@ -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"
 | 
			
		||||
 | 
			
		||||
@ -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`.
 | 
			
		||||
 | 
			
		||||
@ -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\.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user