Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use "staged" instead of "installed" for Caskroom files in messages #6840

Merged
merged 1 commit into from
Oct 23, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ more information.
## Other Commands

* `info` -- displays information about the given Cask
* `list` -- with no args, lists installed Casks; given installed Casks, lists installed files
* `list` -- with no args, lists installed Casks; given installed Casks, lists staged files
* `fetch` -- downloads Cask resources to local cache (with `--force`, re-download even if already cached)
* `doctor` -- checks for configuration issues
* `cleanup` -- cleans up cached downloads (with `--outdated`, only cleans old downloads)
Expand Down
2 changes: 1 addition & 1 deletion doc/src/brew-cask.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ names, and other aspects of this manual are still subject to change.
format the output in a single column. With `-l`, give a more detailed
listing.

If <Casks> are given, list the installed files for <Casks>.
If <Casks> are given, list the staged files for <Casks>.

* `uninstall [--force]` or `rm` or `remove` <Cask>:
Uninstall <Cask>. With `--force`, uninstall even if the Cask does
Expand Down
2 changes: 1 addition & 1 deletion lib/cask/cli/list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ def self.list_installed
end

def self.help
"with no args, lists installed Casks; given installed Casks, lists installed files"
"with no args, lists installed Casks; given installed Casks, lists staged files"
end
end
2 changes: 1 addition & 1 deletion lib/cask/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def summary
else
"#{Tty.blue}==>#{Tty.white} Success!#{Tty.reset} "
end
s << "#{@cask} installed to '#{@cask.staged_path}' (#{@cask.staged_path.cabv})"
s << "#{@cask} staged at '#{@cask.staged_path}' (#{@cask.staged_path.cabv})"
end

def download
Expand Down
2 changes: 1 addition & 1 deletion test/cask/cli/install_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

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

it "properly handles Casks that are not present" do
Expand Down