From 0e15ffff627c17b6c83e7424c0f1357e99902802 Mon Sep 17 00:00:00 2001 From: Mandar Gokhale Date: Thu, 3 Nov 2016 02:51:22 +0000 Subject: [PATCH] Correct a few typos ...and update man pages where applicable --- Library/Homebrew/cask/lib/hbc/utils.rb | 2 +- Library/Homebrew/cmd/unpack.rb | 2 +- Library/Homebrew/dev-cmd/audit.rb | 2 +- Library/Homebrew/download_strategy.rb | 2 +- Library/Homebrew/formula.rb | 2 +- Library/Homebrew/migrator.rb | 4 ++-- docs/brew.1.html | 4 ++-- manpages/brew-cask.1 | 2 +- manpages/brew.1 | 6 +++--- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb index 116cb20956..b442efd2f2 100644 --- a/Library/Homebrew/cask/lib/hbc/utils.rb +++ b/Library/Homebrew/cask/lib/hbc/utils.rb @@ -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 doesn’t fix the problem, please report this bug: diff --git a/Library/Homebrew/cmd/unpack.rb b/Library/Homebrew/cmd/unpack.rb index 6f4caea189..4e6584e70b 100644 --- a/Library/Homebrew/cmd/unpack.rb +++ b/Library/Homebrew/cmd/unpack.rb @@ -6,7 +6,7 @@ #: If `--patch` is passed, patches for 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" diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 96b9870c65..3c19017630 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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 diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 0577682464..63b821cebf 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -20,7 +20,7 @@ class AbstractDownloadStrategy def fetch end - # Supress output + # Suppress output def shutup! @shutup = true end diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index f1d907b7a5..ab05548a8e 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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. diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb index fe480cd3b6..a80cf0c594 100644 --- a/Library/Homebrew/migrator.rb +++ b/Library/Homebrew/migrator.rb @@ -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 diff --git a/docs/brew.1.html b/docs/brew.1.html index 931daf936a..7af76e6f09 100644 --- a/docs/brew.1.html +++ b/docs/brew.1.html @@ -374,7 +374,7 @@ be created in the directory named by <path> instead.

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.

unpin formulae

Unpin formulae, allowing them to be upgraded by brew upgrade. See also pin.

@@ -447,7 +447,7 @@ style checks.

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 diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index 0b07765954..a14c7521ab 100644 --- a/manpages/brew-cask.1 +++ b/manpages/brew-cask.1 @@ -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 diff --git a/manpages/brew.1 b/manpages/brew.1 index 1205c888f0..fb528c0f41 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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\.