cmd/cleanup.rb: description style tweak
This commit is contained in:
parent
0b14b6d76d
commit
f426f1f51f
@ -26,7 +26,7 @@ module Homebrew
|
||||
description: "Show what would be removed, but do not actually remove anything."
|
||||
switch "-s",
|
||||
description: "Scrub the cache, including downloads for even the latest versions. "\
|
||||
"Note downloads for any installed formulae or casks will still not be deleted. "\
|
||||
"Note that downloads for any installed formulae or casks will still not be deleted. "\
|
||||
"If you want to delete those too: `rm -rf \"$(brew --cache)\"`"
|
||||
switch "--prune-prefix",
|
||||
description: "Only prune the symlinks and directories from the prefix and remove no other files."
|
||||
|
||||
@ -485,7 +485,7 @@ __fish_brew_complete_arg 'cleanup' -l prune -d 'Remove all cache files older tha
|
||||
__fish_brew_complete_arg 'cleanup' -l prune-prefix -d 'Only prune the symlinks and directories from the prefix and remove no other files'
|
||||
__fish_brew_complete_arg 'cleanup' -l quiet -d 'Make some output more quiet'
|
||||
__fish_brew_complete_arg 'cleanup' -l verbose -d 'Make some output more verbose'
|
||||
__fish_brew_complete_arg 'cleanup' -l s -d 'Scrub the cache, including downloads for even the latest versions. Note downloads for any installed formulae or casks will still not be deleted. If you want to delete those too: `rm -rf "$(brew --cache)"`'
|
||||
__fish_brew_complete_arg 'cleanup' -l s -d 'Scrub the cache, including downloads for even the latest versions. Note that downloads for any installed formulae or casks will still not be deleted. If you want to delete those too: `rm -rf "$(brew --cache)"`'
|
||||
__fish_brew_complete_arg 'cleanup' -a '(__fish_brew_suggest_formulae_all)'
|
||||
__fish_brew_complete_arg 'cleanup' -a '(__fish_brew_suggest_casks_all)'
|
||||
|
||||
|
||||
@ -598,7 +598,7 @@ _brew_cleanup() {
|
||||
'--prune-prefix[Only prune the symlinks and directories from the prefix and remove no other files]' \
|
||||
'--quiet[Make some output more quiet]' \
|
||||
'--verbose[Make some output more verbose]' \
|
||||
'-s[Scrub the cache, including downloads for even the latest versions. Note downloads for any installed formulae or casks will still not be deleted. If you want to delete those too: `rm -rf "$(brew --cache)"`]' \
|
||||
'-s[Scrub the cache, including downloads for even the latest versions. Note that downloads for any installed formulae or casks will still not be deleted. If you want to delete those too: `rm -rf "$(brew --cache)"`]' \
|
||||
- formula \
|
||||
'*::formula:__brew_formulae' \
|
||||
- cask \
|
||||
|
||||
@ -105,7 +105,7 @@ only do this for the given formulae and casks. Removes all downloads more than
|
||||
* `-n`, `--dry-run`:
|
||||
Show what would be removed, but do not actually remove anything.
|
||||
* `-s`:
|
||||
Scrub the cache, including downloads for even the latest versions. Note downloads for any installed formulae or casks will still not be deleted. If you want to delete those too: `rm -rf "$(brew --cache)"`
|
||||
Scrub the cache, including downloads for even the latest versions. Note that downloads for any installed formulae or casks will still not be deleted. If you want to delete those too: `rm -rf "$(brew --cache)"`
|
||||
* `--prune-prefix`:
|
||||
Only prune the symlinks and directories from the prefix and remove no other files.
|
||||
|
||||
|
||||
@ -119,7 +119,7 @@ Show what would be removed, but do not actually remove anything\.
|
||||
.
|
||||
.TP
|
||||
\fB\-s\fR
|
||||
Scrub the cache, including downloads for even the latest versions\. Note downloads for any installed formulae or casks will still not be deleted\. If you want to delete those too: \fBrm \-rf "$(brew \-\-cache)"\fR
|
||||
Scrub the cache, including downloads for even the latest versions\. Note that downloads for any installed formulae or casks will still not be deleted\. If you want to delete those too: \fBrm \-rf "$(brew \-\-cache)"\fR
|
||||
.
|
||||
.TP
|
||||
\fB\-\-prune\-prefix\fR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user