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

update docs and messages for brew cask cat #4242

Merged
merged 1 commit into from
May 8, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ This will both uninstall the Cask and remove symlinks which were created in
The following commands are for Cask authors:

* `audit` -- verifies installability of Casks
* `cat` -- dumps the given Cask to the standard output
* `create` -- creates a Cask and opens it in an editor
* `edit` -- edits the given Cask
* `checklinks` -- checks for bad Cask links
Expand Down
3 changes: 3 additions & 0 deletions doc/src/brew-cask.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ names, and other aspects of this manual are still subject to change.
Modify Alfred's search scope to include the Caskroom directory where
Applications are stored.

* `cat` <Cask>:
Dump the given Cask definition file to the standard output.

* `checklinks`:
Check for bad Cask links.

Expand Down
2 changes: 1 addition & 1 deletion lib/cask/cli/cat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ def self.run(*arguments)
end

def self.help
"display the source of cask."
"dump raw source of the given Cask to the standard output"
end
end
2 changes: 1 addition & 1 deletion test/cask/cli/cat_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class BasicCask < TestCask
CLIOUTPUT
end

it 'raises an exception when the cask doesnt exist' do
it %q{raises an exception when the cask doesn't exist} do
lambda {
Cask::CLI::Cat.run('notacask')
}.must_raise CaskUnavailableError
Expand Down