Correct a few typos

...and update man pages where applicable
This commit is contained in:
Mandar Gokhale 2016-11-03 02:51:22 +00:00
parent 2a865f085e
commit 0e15ffff62
9 changed files with 13 additions and 13 deletions

View File

@ -117,7 +117,7 @@ module Hbc
def self.error_message_with_suggestions
<<-EOS.undent
Follow the instuctions here:
Follow the instructions here:
#{Formatter.url(PREBUG_URL)}
If this doesnt fix the problem, please report this bug:

View File

@ -6,7 +6,7 @@
#: If `--patch` is passed, patches for <formulae> will be applied to the
#: unpacked source.
#:
#: If `--git` is passed, a Git repository will be initalized in the unpacked
#: If `--git` is passed, a Git repository will be initialized in the unpacked
#: source. This is useful for creating patches for the software.
require "stringio"

View File

@ -11,7 +11,7 @@
#: connection are run.
#:
#: If `--new-formula` is passed, various additional checks are run that check
#: if a new formula is eligable for Homebrew. This should be used when creating
#: if a new formula is eligible for Homebrew. This should be used when creating
#: new formulae and implies `--strict` and `--online`.
#:
#: If `--display-cop-names` is passed, the RuboCop cop name for each violation

View File

@ -20,7 +20,7 @@ class AbstractDownloadStrategy
def fetch
end
# Supress output
# Suppress output
def shutup!
@shutup = true
end

View File

@ -1599,7 +1599,7 @@ class Formula
HOMEBREW_LIBRARY_PATH.join("test", "fixtures", file)
end
# This method is overriden in {Formula} subclasses to provide the installation instructions.
# This method is overridden in {Formula} subclasses to provide the installation instructions.
# The sources (from {.url}) are downloaded, hash-checked and
# Homebrew changes into a temporary directory where the
# archive was unpacked or repository cloned.

View File

@ -165,7 +165,7 @@ class Migrator
rescue Interrupt
ignore_interrupts { backup_oldname }
rescue Exception => e
onoe "Error occured while migrating."
onoe "Error occurred while migrating."
puts e
puts e.backtrace if ARGV.debug?
puts "Backuping..."
@ -293,7 +293,7 @@ class Migrator
end
end
# Backup everything if errors occured while migrating.
# Backup everything if errors occurred while migrating.
def backup_oldname
unlink_oldname_opt
unlink_oldname_cellar

View File

@ -374,7 +374,7 @@ be created in the directory named by <code>&lt;path></code> instead.</p>
<p>If <code>--patch</code> is passed, patches for <var>formulae</var> will be applied to the
unpacked source.</p>
<p>If <code>--git</code> is passed, a Git repository will be initalized in the unpacked
<p>If <code>--git</code> is passed, a Git repository will be initialized in the unpacked
source. This is useful for creating patches for the software.</p></dd>
<dt><code>unpin</code> <var>formulae</var></dt><dd><p>Unpin <var>formulae</var>, allowing them to be upgraded by <code>brew upgrade</code>. See also
<code>pin</code>.</p></dd>
@ -447,7 +447,7 @@ style checks.</p>
connection are run.</p>
<p>If <code>--new-formula</code> is passed, various additional checks are run that check
if a new formula is eligable for Homebrew. This should be used when creating
if a new formula is eligible for Homebrew. This should be used when creating
new formulae and implies <code>--strict</code> and <code>--online</code>.</p>
<p>If <code>--display-cop-names</code> is passed, the RuboCop cop name for each violation

View File

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "BREW\-CASK" "1" "October 2016" "Homebrew" "brew-cask"
.TH "BREW\-CASK" "1" "November 2016" "Homebrew" "brew-cask"
.
.SH "NAME"
\fBbrew\-cask\fR \- a friendly binary installer for macOS

View File

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "BREW" "1" "October 2016" "Homebrew" "brew"
.TH "BREW" "1" "November 2016" "Homebrew" "brew"
.
.SH "NAME"
\fBbrew\fR \- The missing package manager for macOS
@ -518,7 +518,7 @@ Unpack the source files for \fIformulae\fR into subdirectories of the current wo
If \fB\-\-patch\fR is passed, patches for \fIformulae\fR will be applied to the unpacked source\.
.
.IP
If \fB\-\-git\fR is passed, a Git repository will be initalized in the unpacked source\. This is useful for creating patches for the software\.
If \fB\-\-git\fR is passed, a Git repository will be initialized in the unpacked source\. This is useful for creating patches for the software\.
.
.TP
\fBunpin\fR \fIformulae\fR
@ -626,7 +626,7 @@ If \fB\-\-strict\fR is passed, additional checks are run, including RuboCop styl
If \fB\-\-online\fR is passed, additional slower checks that require a network connection are run\.
.
.IP
If \fB\-\-new\-formula\fR is passed, various additional checks are run that check if a new formula is eligable for Homebrew\. This should be used when creating new formulae and implies \fB\-\-strict\fR and \fB\-\-online\fR\.
If \fB\-\-new\-formula\fR is passed, various additional checks are run that check if a new formula is eligible for Homebrew\. This should be used when creating new formulae and implies \fB\-\-strict\fR and \fB\-\-online\fR\.
.
.IP
If \fB\-\-display\-cop\-names\fR is passed, the RuboCop cop name for each violation is included in the output\.