Skip to content

Commit cd63241

Browse files
committed
use "staged" instead of "installed" for Caskroom
refs: Homebrew#6783
1 parent 06c27b2 commit cd63241

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

USAGE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ more information.
7878
## Other Commands
7979

8080
* `info` -- displays information about the given Cask
81-
* `list` -- with no args, lists installed Casks; given installed Casks, lists installed files
81+
* `list` -- with no args, lists installed Casks; given installed Casks, lists staged files
8282
* `fetch` -- downloads Cask resources to local cache (with `--force`, re-download even if already cached)
8383
* `doctor` -- checks for configuration issues
8484
* `cleanup` -- cleans up cached downloads (with `--outdated`, only cleans old downloads)

doc/src/brew-cask.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ names, and other aspects of this manual are still subject to change.
8585
format the output in a single column. With `-l`, give a more detailed
8686
listing.
8787

88-
If <Casks> are given, list the installed files for <Casks>.
88+
If <Casks> are given, list the staged files for <Casks>.
8989

9090
* `uninstall [--force]` or `rm` or `remove` <Cask>:
9191
Uninstall <Cask>. With `--force`, uninstall even if the Cask does

lib/cask/cli/list.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ def self.list_installed
6262
end
6363

6464
def self.help
65-
"with no args, lists installed Casks; given installed Casks, lists installed files"
65+
"with no args, lists installed Casks; given installed Casks, lists staged files"
6666
end
6767
end

lib/cask/installer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def summary
6363
else
6464
"#{Tty.blue}==>#{Tty.white} Success!#{Tty.reset} "
6565
end
66-
s << "#{@cask} installed to '#{@cask.staged_path}' (#{@cask.staged_path.cabv})"
66+
s << "#{@cask} staged at '#{@cask.staged_path}' (#{@cask.staged_path.cabv})"
6767
end
6868

6969
def download

test/cask/cli/install_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
TestHelper.must_output(self, lambda {
3131
Cask::CLI::Install.run('local-transmission', '--force')
32-
}, %r{==> Success! local-transmission installed to '#{Cask.caskroom}/local-transmission/2.61' \(487 files, 11M\)})
32+
}, %r{==> Success! local-transmission staged at '#{Cask.caskroom}/local-transmission/2.61' \(487 files, 11M\)})
3333
end
3434

3535
it "properly handles Casks that are not present" do

0 commit comments

Comments
 (0)