manpages: grammar fixes

This commit is contained in:
EricFromCanada 2019-08-06 14:22:24 -04:00
parent a3e0647797
commit 6520785307
18 changed files with 26 additions and 26 deletions

View File

@ -10,7 +10,7 @@ module Homebrew
usage_banner <<~EOS usage_banner <<~EOS
`--version` `--version`
Print the version number of Homebrew, Homebrew/homebrew-core and Homebrew/homebrew-cask Print the version numbers of Homebrew, Homebrew/homebrew-core and Homebrew/homebrew-cask
(if tapped) to standard output and exit. (if tapped) to standard output and exit.
EOS EOS
end end

View File

@ -15,7 +15,7 @@ module Homebrew
If `state` is passed, display anonymous user behaviour analytics state. If `state` is passed, display anonymous user behaviour analytics state.
Read more at <https://docs.brew.sh/Analytics>. Read more at <https://docs.brew.sh/Analytics>.
If `regenerate-uuid` is passed, regenerate UUID used in Homebrew's analytics. If `regenerate-uuid` is passed, regenerate the UUID used in Homebrew's analytics.
EOS EOS
switch :verbose switch :verbose
switch :debug switch :debug

View File

@ -28,7 +28,7 @@ module Homebrew
EOS EOS
switch :debug, switch :debug,
description: "If brewing fails, open an interactive debugging session with access to IRB "\ description: "If brewing fails, open an interactive debugging session with access to IRB "\
"or a shell inside the temporary build directory" "or a shell inside the temporary build directory."
flag "--env=", flag "--env=",
description: "If `std` is passed, use the standard build environment instead of superenv. "\ description: "If `std` is passed, use the standard build environment instead of superenv. "\
"If `super` is passed, use superenv even if the formula specifies the "\ "If `super` is passed, use superenv even if the formula specifies the "\
@ -230,7 +230,7 @@ module Homebrew
opoo msg opoo msg
elsif f.migration_needed? && !args.force? elsif f.migration_needed? && !args.force?
# Check if the formula we try to install is the same as installed # Check if the formula we try to install is the same as installed
# but not migrated one. If --force passed then install anyway. # but not migrated one. If --force is passed then install anyway.
opoo <<~EOS opoo <<~EOS
#{f.oldname} is already installed, it's just not migrated #{f.oldname} is already installed, it's just not migrated
You can migrate this formula with `brew migrate #{f}` You can migrate this formula with `brew migrate #{f}`

View File

@ -11,12 +11,12 @@ module Homebrew
usage_banner <<~EOS usage_banner <<~EOS
`migrate` [<options>] <formula> `migrate` [<options>] <formula>
Migrate renamed packages to new name, where <formula> are old names of Migrate renamed packages to new names, where <formula> are old names of
packages. packages.
EOS EOS
switch :force, switch :force,
description: "Treat installed <formula> and passed <formula> like if they are from "\ description: "Treat installed <formula> and passed <formula> as if they are from "\
"same taps and migrate them anyway." "the same taps and migrate them anyway."
switch :verbose switch :verbose
switch :debug switch :debug
end end

View File

@ -20,7 +20,7 @@ module Homebrew
EOS EOS
comma_array "--hide", comma_array "--hide",
description: "Act as if none of the provided <hidden> are installed. <hidden> should be "\ description: "Act as if none of the provided <hidden> are installed. <hidden> should be "\
"comma-separated list of formulae." "a comma-separated list of formulae."
switch :verbose switch :verbose
switch :debug switch :debug
end end

View File

@ -12,7 +12,7 @@ module Homebrew
usage_banner <<~EOS usage_banner <<~EOS
`options` [<options>] <formula> `options` [<options>] <formula>
Display install options specific to <formula> Display install options specific to <formula>.
EOS EOS
switch "--compact", switch "--compact",
description: "Show all options on a single line separated by spaces." description: "Show all options on a single line separated by spaces."

View File

@ -22,7 +22,7 @@ module Homebrew
EOS EOS
switch :debug, switch :debug,
description: "If brewing fails, open an interactive debugging session with access to IRB "\ description: "If brewing fails, open an interactive debugging session with access to IRB "\
"or a shell inside the temporary build directory" "or a shell inside the temporary build directory."
switch "-s", "--build-from-source", switch "-s", "--build-from-source",
description: "Compile <formula> from source even if a bottle is available." description: "Compile <formula> from source even if a bottle is available."
switch "--force-bottle", switch "--force-bottle",

View File

@ -40,7 +40,7 @@ module Homebrew
description: "Display all locally available casks (including tapped ones). "\ description: "Display all locally available casks (including tapped ones). "\
"No online search is performed." "No online search is performed."
switch "--desc", switch "--desc",
description: "search formulae with a description matching <text> and casks with "\ description: "Search for formulae with a description matching <text> and casks with "\
"a name matching <text>." "a name matching <text>."
package_manager_switches = PACKAGE_MANAGERS.keys.map { |name| "--#{name}" } package_manager_switches = PACKAGE_MANAGERS.keys.map { |name| "--#{name}" }

View File

@ -19,7 +19,7 @@ module Homebrew
which otherwise build systems would not find. which otherwise build systems would not find.
EOS EOS
flag "--env=", flag "--env=",
description: "Use the standard `PATH` instead of superenv's, when <std> is passed" description: "Use the standard `PATH` instead of superenv's when <std> is passed."
switch :verbose switch :verbose
switch :debug switch :debug
end end

View File

@ -12,7 +12,7 @@ module Homebrew
usage_banner <<~EOS usage_banner <<~EOS
`switch` <formula> <version> `switch` <formula> <version>
Symlink all of the specific <version> of <formula>'s install to Homebrew prefix. Symlink all of the specified <version> of <formula>'s installation into Homebrew's prefix.
EOS EOS
switch_option :verbose switch_option :verbose
switch_option :debug switch_option :debug

View File

@ -14,20 +14,20 @@ module Homebrew
List all installed taps when no arguments are passed. List all installed taps when no arguments are passed.
With <URL> unspecified, taps a formula repository from GitHub using HTTPS. With <URL> unspecified, tap a formula repository from GitHub using HTTPS.
Since so many taps are hosted on GitHub, this command is a shortcut for Since so many taps are hosted on GitHub, this command is a shortcut for
`brew tap` <user>`/`<repo> `https://github.com/`<user>`/homebrew-`<repo>. `brew tap` <user>`/`<repo> `https://github.com/`<user>`/homebrew-`<repo>.
With <URL> specified, taps a formula repository from anywhere, using With <URL> specified, tap a formula repository from anywhere, using
any transport protocol that `git` handles. The one-argument form of `tap` any transport protocol that `git` handles. The one-argument form of `tap`
simplifies but also limits. This two-argument command makes no simplifies but also limits. This two-argument command makes no
assumptions, so taps can be cloned from places other than GitHub and assumptions, so taps can be cloned from places other than GitHub and
using protocols other than HTTPS, e.g., SSH, GIT, HTTP, FTP(S), RSYNC. using protocols other than HTTPS, e.g. SSH, GIT, HTTP, FTP(S), RSYNC.
EOS EOS
switch "--full", switch "--full",
description: "Use a full clone when tapping a repository. By default, the repository is "\ description: "Use a full clone when tapping a repository. By default, the repository is "\
"cloned as a shallow copy (`--depth=1`). To convert a shallow copy to a "\ "cloned as a shallow copy (`--depth=1`). To convert a shallow copy to a "\
"full copy, you can retap passing `--full` without first untapping." "full copy, you can retap by passing `--full` without first untapping."
switch "--force-auto-update", switch "--force-auto-update",
description: "Auto-update tap even if it is not hosted on GitHub. By default, only taps "\ description: "Auto-update tap even if it is not hosted on GitHub. By default, only taps "\
"hosted on GitHub are auto-updated (for performance reasons)." "hosted on GitHub are auto-updated (for performance reasons)."

View File

@ -17,7 +17,7 @@ module Homebrew
Uninstall <formula>. Uninstall <formula>.
EOS EOS
switch :force, switch :force,
description: "Delete all installed versions of the <formula>" description: "Delete all installed versions of <formula>."
switch "--ignore-dependencies", switch "--ignore-dependencies",
description: "Don't fail uninstall, even if <formula> is a dependency of any installed "\ description: "Don't fail uninstall, even if <formula> is a dependency of any installed "\
"formulae." "formulae."

View File

@ -26,7 +26,7 @@ module Homebrew
EOS EOS
switch :debug, switch :debug,
description: "If brewing fails, open an interactive debugging session with access to IRB "\ description: "If brewing fails, open an interactive debugging session with access to IRB "\
"or a shell inside the temporary build directory" "or a shell inside the temporary build directory."
switch "-s", "--build-from-source", switch "-s", "--build-from-source",
description: "Compile <formula> from source even if a bottle is available." description: "Compile <formula> from source even if a bottle is available."
switch "--force-bottle", switch "--force-bottle",

View File

@ -37,9 +37,9 @@ module Homebrew
switch "--skip-recommended", switch "--skip-recommended",
description: "Skip all formulae that specify <formula> as `:recommended` type dependency." description: "Skip all formulae that specify <formula> as `:recommended` type dependency."
switch "--devel", switch "--devel",
description: "Show usage of <formula> by development build." description: "Show usage of <formula> by development builds."
switch "--HEAD", switch "--HEAD",
description: "Show usage of <formula> by HEAD build." description: "Show usage of <formula> by HEAD builds."
switch :debug switch :debug
conflicts "--devel", "--HEAD" conflicts "--devel", "--HEAD"
end end

View File

@ -38,7 +38,7 @@ module Homebrew
switch "--display-cop-names", switch "--display-cop-names",
description: "Include the RuboCop cop name for each violation in the output." description: "Include the RuboCop cop name for each violation in the output."
switch "--display-filename", switch "--display-filename",
description: "Prefix every line of output with name of the file or formula being audited, to "\ description: "Prefix every line of output with the file or formula name being audited, to "\
"make output easy to grep." "make output easy to grep."
switch "-D", "--audit-debug", switch "-D", "--audit-debug",
description: "Enable debugging and profiling of audit methods." description: "Enable debugging and profiling of audit methods."

View File

@ -10,7 +10,7 @@ module Homebrew
usage_banner <<~EOS usage_banner <<~EOS
`prof` <command> `prof` <command>
Run Homebrew with the Ruby profiler e.g. `brew prof readall`. Run Homebrew with the Ruby profiler, e.g. `brew prof readall`.
EOS EOS
end end
end end

View File

@ -10,8 +10,8 @@ module Homebrew
usage_banner <<~EOS usage_banner <<~EOS
`ruby` [`-e`]: `ruby` [`-e`]:
Run a Ruby instance with Homebrew's libraries loaded e.g. Run a Ruby instance with Homebrew's libraries loaded, e.g.
`brew ruby -e "puts :gcc.f.deps"` or `brew ruby script.rb` `brew ruby -e "puts :gcc.f.deps"` or `brew ruby script.rb`.
EOS EOS
switch "-e", switch "-e",
description: "Execute the provided string argument as a script." description: "Execute the provided string argument as a script."

View File

@ -105,7 +105,7 @@ module Homebrew
You will encounter build failures with some formulae. You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub, Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience, as you are running this #{what}. experience while you are running this #{what}.
EOS EOS
end end