Merge pull request #1429 from mandarg/fix-few-typos
Correct a few typos
This commit is contained in:
commit
09f438aecc
@ -117,7 +117,7 @@ module Hbc
|
|||||||
|
|
||||||
def self.error_message_with_suggestions
|
def self.error_message_with_suggestions
|
||||||
<<-EOS.undent
|
<<-EOS.undent
|
||||||
Follow the instuctions here:
|
Follow the instructions here:
|
||||||
#{Formatter.url(PREBUG_URL)}
|
#{Formatter.url(PREBUG_URL)}
|
||||||
|
|
||||||
If this doesn’t fix the problem, please report this bug:
|
If this doesn’t fix the problem, please report this bug:
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
#: If `--patch` is passed, patches for <formulae> will be applied to the
|
#: If `--patch` is passed, patches for <formulae> will be applied to the
|
||||||
#: unpacked source.
|
#: 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.
|
#: source. This is useful for creating patches for the software.
|
||||||
|
|
||||||
require "stringio"
|
require "stringio"
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
#: connection are run.
|
#: connection are run.
|
||||||
#:
|
#:
|
||||||
#: If `--new-formula` is passed, various additional checks are run that check
|
#: 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`.
|
#: new formulae and implies `--strict` and `--online`.
|
||||||
#:
|
#:
|
||||||
#: If `--display-cop-names` is passed, the RuboCop cop name for each violation
|
#: If `--display-cop-names` is passed, the RuboCop cop name for each violation
|
||||||
|
|||||||
@ -20,7 +20,7 @@ class AbstractDownloadStrategy
|
|||||||
def fetch
|
def fetch
|
||||||
end
|
end
|
||||||
|
|
||||||
# Supress output
|
# Suppress output
|
||||||
def shutup!
|
def shutup!
|
||||||
@shutup = true
|
@shutup = true
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1599,7 +1599,7 @@ class Formula
|
|||||||
HOMEBREW_LIBRARY_PATH.join("test", "fixtures", file)
|
HOMEBREW_LIBRARY_PATH.join("test", "fixtures", file)
|
||||||
end
|
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
|
# The sources (from {.url}) are downloaded, hash-checked and
|
||||||
# Homebrew changes into a temporary directory where the
|
# Homebrew changes into a temporary directory where the
|
||||||
# archive was unpacked or repository cloned.
|
# archive was unpacked or repository cloned.
|
||||||
|
|||||||
@ -165,7 +165,7 @@ class Migrator
|
|||||||
rescue Interrupt
|
rescue Interrupt
|
||||||
ignore_interrupts { backup_oldname }
|
ignore_interrupts { backup_oldname }
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
onoe "Error occured while migrating."
|
onoe "Error occurred while migrating."
|
||||||
puts e
|
puts e
|
||||||
puts e.backtrace if ARGV.debug?
|
puts e.backtrace if ARGV.debug?
|
||||||
puts "Backuping..."
|
puts "Backuping..."
|
||||||
@ -293,7 +293,7 @@ class Migrator
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Backup everything if errors occured while migrating.
|
# Backup everything if errors occurred while migrating.
|
||||||
def backup_oldname
|
def backup_oldname
|
||||||
unlink_oldname_opt
|
unlink_oldname_opt
|
||||||
unlink_oldname_cellar
|
unlink_oldname_cellar
|
||||||
|
|||||||
@ -374,7 +374,7 @@ be created in the directory named by <code><path></code> instead.</p>
|
|||||||
<p>If <code>--patch</code> is passed, patches for <var>formulae</var> will be applied to the
|
<p>If <code>--patch</code> is passed, patches for <var>formulae</var> will be applied to the
|
||||||
unpacked source.</p>
|
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>
|
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
|
<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>
|
<code>pin</code>.</p></dd>
|
||||||
@ -447,7 +447,7 @@ style checks.</p>
|
|||||||
connection are run.</p>
|
connection are run.</p>
|
||||||
|
|
||||||
<p>If <code>--new-formula</code> is passed, various additional checks are run that check
|
<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>
|
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
|
<p>If <code>--display-cop-names</code> is passed, the RuboCop cop name for each violation
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
.\" generated with Ronn/v0.7.3
|
.\" generated with Ronn/v0.7.3
|
||||||
.\" http://github.com/rtomayko/ronn/tree/0.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"
|
.SH "NAME"
|
||||||
\fBbrew\-cask\fR \- a friendly binary installer for macOS
|
\fBbrew\-cask\fR \- a friendly binary installer for macOS
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
.\" generated with Ronn/v0.7.3
|
.\" generated with Ronn/v0.7.3
|
||||||
.\" http://github.com/rtomayko/ronn/tree/0.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"
|
.SH "NAME"
|
||||||
\fBbrew\fR \- The missing package manager for macOS
|
\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\.
|
If \fB\-\-patch\fR is passed, patches for \fIformulae\fR will be applied to the unpacked source\.
|
||||||
.
|
.
|
||||||
.IP
|
.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
|
.TP
|
||||||
\fBunpin\fR \fIformulae\fR
|
\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\.
|
If \fB\-\-online\fR is passed, additional slower checks that require a network connection are run\.
|
||||||
.
|
.
|
||||||
.IP
|
.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
|
.IP
|
||||||
If \fB\-\-display\-cop\-names\fR is passed, the RuboCop cop name for each violation is included in the output\.
|
If \fB\-\-display\-cop\-names\fR is passed, the RuboCop cop name for each violation is included in the output\.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user