manpages: whitespace fixes

This commit is contained in:
EricFromCanada 2019-08-06 13:23:19 -04:00
parent b9a30d154f
commit a3e0647797
17 changed files with 66 additions and 64 deletions

View File

@ -18,9 +18,9 @@ module Homebrew
If the command's output is sent through a pipe and no shell is specified, If the command's output is sent through a pipe and no shell is specified,
the list is formatted for export to `bash`(1) unless `--plain` is passed. the list is formatted for export to `bash`(1) unless `--plain` is passed.
EOS EOS
flag "--shell=", flag "--shell=",
description: "Generate a list of environment variables for the specified shell, " \ description: "Generate a list of environment variables for the specified shell, " \
"or `--shell=auto` to detect the current shell." "or `--shell=auto` to detect the current shell."
switch "--plain", switch "--plain",
description: "Plain output even when piped." description: "Plain output even when piped."
end end

View File

@ -15,7 +15,6 @@ module Homebrew
and remove old versions of installed formulae. If arguments are specified, and remove old versions of installed formulae. If arguments are specified,
only do this for the specified formulae and casks. only do this for the specified formulae and casks.
EOS EOS
flag "--prune=", flag "--prune=",
description: "Remove all cache files older than specified <days>." description: "Remove all cache files older than specified <days>."
switch "-n", "--dry-run", switch "-n", "--dry-run",

View File

@ -19,15 +19,15 @@ module Homebrew
Formula descriptions are cached; the cache is created on the Formula descriptions are cached; the cache is created on the
first search, making that search slower than subsequent ones. first search, making that search slower than subsequent ones.
EOS EOS
flag "-s", "--search=", flag "-s", "--search=",
description: "Search both name and description for provided <text>. If <text> is flanked by "\ description: "Search both name and description for provided <text>. If <text> is flanked by "\
"slashes, it is interpreted as a regular expression." "slashes, it is interpreted as a regular expression."
flag "-n", "--name=", flag "-n", "--name=",
description: "Search just the names for provided <text>. If <text> is flanked by slashes, it is "\ description: "Search just the names for provided <text>. If <text> is flanked by slashes, it is "\
"interpreted as a regular expression." "interpreted as a regular expression."
flag "-d", "--description=", flag "-d", "--description=",
description: "Search just the descriptions for provided <text>. If <text> is flanked by slashes, "\ description: "Search just the descriptions for provided <text>. If <text> is flanked by slashes, "\
"it is interpreted as a regular expression." "it is interpreted as a regular expression."
switch :verbose switch :verbose
conflicts "--search=", "--name=", "--description=" conflicts "--search=", "--name=", "--description="
end end

View File

@ -15,10 +15,10 @@ module Homebrew
Using the output from this command, you can install your own software into Using the output from this command, you can install your own software into
the Cellar and then link it into Homebrew's prefix with `brew link`. the Cellar and then link it into Homebrew's prefix with `brew link`.
EOS EOS
flag "--name=", flag "--name=",
description: "Explicitly set the provided <name> of the package being installed." description: "Explicitly set the provided <name> of the package being installed."
flag "--version=", flag "--version=",
description: "Explicitly set the provided <version> of the package being installed." description: "Explicitly set the provided <version> of the package being installed."
switch :verbose switch :verbose
switch :debug switch :debug
end end

View File

@ -26,7 +26,7 @@ module Homebrew
description: "Remove a previously cached version and re-fetch." description: "Remove a previously cached version and re-fetch."
switch "--retry", switch "--retry",
description: "Retry if a download fails or re-download if the checksum of a previously cached "\ description: "Retry if a download fails or re-download if the checksum of a previously cached "\
"version no longer matches." "version no longer matches."
switch "--deps", switch "--deps",
description: "Download dependencies for any listed <formula>." description: "Download dependencies for any listed <formula>."
switch "-s", "--build-from-source", switch "-s", "--build-from-source",

View File

@ -37,10 +37,10 @@ module Homebrew
switch "--github", switch "--github",
description: "Open a browser to the GitHub source page for <formula>. "\ description: "Open a browser to the GitHub source page for <formula>. "\
"To view formula history locally: `brew log -p` <formula>" "To view formula history locally: `brew log -p` <formula>"
flag "--json", flag "--json",
description: "Print a JSON representation of <formula>. Currently the default and only accepted "\ description: "Print a JSON representation of <formula>. Currently the default and only accepted "\
"value for <version> is `v1`. See the docs for examples of using the JSON "\ "value for <version> is `v1`. See the docs for examples of using the JSON "\
"output: <https://docs.brew.sh/Querying-Brew>" "output: <https://docs.brew.sh/Querying-Brew>"
switch "--installed", switch "--installed",
depends_on: "--json", depends_on: "--json",
description: "Print JSON of formulae that are currently installed." description: "Print JSON of formulae that are currently installed."

View File

@ -23,16 +23,16 @@ module Homebrew
<formula> is usually the name of the formula to install, but it can be specified <formula> is usually the name of the formula to install, but it can be specified
in several different ways. in several different ways.
Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will be run for the installed formulae or, every 30 days, for all formulae. Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will be run for the
installed formulae or, every 30 days, for all formulae.
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 "\
"standard build environment." "standard build environment."
switch "--ignore-dependencies", switch "--ignore-dependencies",
description: "An unsupported Homebrew development flag to skip installing any dependencies of "\ description: "An unsupported Homebrew development flag to skip installing any dependencies of "\
"any kind. If the dependencies are not already present, the formula will have issues. "\ "any kind. If the dependencies are not already present, the formula will have issues. "\
@ -41,13 +41,13 @@ module Homebrew
switch "--only-dependencies", switch "--only-dependencies",
description: "Install the dependencies with specified options but do not install the "\ description: "Install the dependencies with specified options but do not install the "\
"specified formula." "specified formula."
flag "--cc=", flag "--cc=",
description: "Attempt to compile using provided <compiler>. <compiler> should be the "\ description: "Attempt to compile using provided <compiler>. <compiler> should be the "\
"name of the compiler's executable, for instance `gcc-7` for GCC 7. "\ "name of the compiler's executable, for instance `gcc-7` for GCC 7. "\
"In order to use LLVM's clang, use `llvm_clang`. To specify the "\ "In order to use LLVM's clang, use `llvm_clang`. To specify the "\
"Apple-provided clang, use `clang`. This parameter will only accept "\ "Apple-provided clang, use `clang`. This parameter will only accept "\
"compilers that are provided by Homebrew or bundled with macOS. "\ "compilers that are provided by Homebrew or bundled with macOS. "\
"Please do not file issues if you encounter errors while using this flag." "Please do not file issues if you encounter errors while using this flag."
switch "-s", "--build-from-source", switch "-s", "--build-from-source",
description: "Compile the specified <formula> from source even if a bottle is provided. "\ description: "Compile the specified <formula> from source even if a bottle is provided. "\
"Dependencies will still be installed from bottles if they are available." "Dependencies will still be installed from bottles if they are available."
@ -68,10 +68,10 @@ module Homebrew
description: "Don't delete the temporary files created during installation." description: "Don't delete the temporary files created during installation."
switch "--build-bottle", switch "--build-bottle",
description: "Prepare the formula for eventual bottling during installation." description: "Prepare the formula for eventual bottling during installation."
flag "--bottle-arch=", flag "--bottle-arch=",
depends_on: "--build-bottle", depends_on: "--build-bottle",
description: "Optimise bottles for the given architecture rather than the oldest "\ description: "Optimise bottles for the given architecture rather than the oldest "\
"architecture supported by the version of macOS the bottles are built on." "architecture supported by the version of macOS the bottles are built on."
switch :force, switch :force,
description: "Install without checking for previously installed keg-only or "\ description: "Install without checking for previously installed keg-only or "\
"non-migrated versions." "non-migrated versions."

View File

@ -21,10 +21,10 @@ module Homebrew
description: "List only the names of outdated brews (takes precedence over `--verbose`)." description: "List only the names of outdated brews (takes precedence over `--verbose`)."
switch :verbose, switch :verbose,
description: "Display detailed version information." description: "Display detailed version information."
flag "--json", flag "--json",
description: "Print output in JSON format. Currently the default and only accepted "\ description: "Print output in JSON format. Currently the default and only accepted "\
"value for <version> is `v1`. See the docs for examples of using the JSON "\ "value for <version> is `v1`. See the docs for examples of using the JSON "\
"output: <https://docs.brew.sh/Querying-Brew>" "output: <https://docs.brew.sh/Querying-Brew>"
switch "--fetch-HEAD", switch "--fetch-HEAD",
description: "Fetch the upstream repository to detect if the HEAD installation of the "\ description: "Fetch the upstream repository to detect if the HEAD installation of the "\
"formula is outdated. Otherwise, the repository's HEAD will be checked for "\ "formula is outdated. Otherwise, the repository's HEAD will be checked for "\

View File

@ -17,7 +17,8 @@ module Homebrew
Uninstall and then install <formula> (with existing and any appended install options). Uninstall and then install <formula> (with existing and any appended install options).
Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will be run for the reinstalled formulae or, every 30 days, for all formulae. Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will be run for the
reinstalled formulae or, every 30 days, for all formulae.
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 "\

View File

@ -18,8 +18,8 @@ module Homebrew
in an Xcode-only configuration since it adds tools like `make` to your `PATH` in an Xcode-only configuration since it adds tools like `make` to your `PATH`
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

@ -15,10 +15,10 @@ module Homebrew
EOS EOS
switch "--installed", switch "--installed",
description: "Display information on all installed taps." description: "Display information on all installed taps."
flag "--json", flag "--json",
description: "Print a JSON representation of <taps>. Currently the default and only accepted "\ description: "Print a JSON representation of <taps>. Currently the default and only accepted "\
"value for <version> is `v1`. See the docs for examples of using the JSON "\ "value for <version> is `v1`. See the docs for examples of using the JSON "\
"output: <https://docs.brew.sh/Querying-Brew>" "output: <https://docs.brew.sh/Querying-Brew>"
switch :debug switch :debug
end end
end end

View File

@ -15,8 +15,8 @@ module Homebrew
Unpack the source files for <formula> into subdirectories of the current Unpack the source files for <formula> into subdirectories of the current
working directory. working directory.
EOS EOS
flag "--destdir=", flag "--destdir=",
description: "Create subdirectories in the directory named by <path> instead." description: "Create subdirectories in the directory named by <path> instead."
switch "--patch", switch "--patch",
description: "Patches for <formula> will be applied to the unpacked source." description: "Patches for <formula> will be applied to the unpacked source."
switch "-g", "--git", switch "-g", "--git",

View File

@ -21,7 +21,8 @@ module Homebrew
If <formula> are given, upgrade only the specified brews (unless they If <formula> are given, upgrade only the specified brews (unless they
are pinned; see `pin`, `unpin`). are pinned; see `pin`, `unpin`).
Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will be run for the upgraded formulae or, every 30 days, for all formulae. Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will be run for the
upgraded formulae or, every 30 days, for all formulae.
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 "\

View File

@ -58,7 +58,6 @@ module Homebrew
flag "--revision=", flag "--revision=",
required_for: "--tag=", required_for: "--tag=",
description: "Specify the new git commit <revision> corresponding to a specified <tag>." description: "Specify the new git commit <revision> corresponding to a specified <tag>."
switch :force switch :force
switch :quiet switch :quiet
switch :verbose switch :verbose

View File

@ -12,13 +12,12 @@ module Homebrew
`bump-revision` [<options>] [<formula>] `bump-revision` [<options>] [<formula>]
Create a commit to increment the revision of the formula. If no revision is Create a commit to increment the revision of the formula. If no revision is
present, "revision 1" will be added. present, "revision 1" will be added.
EOS EOS
switch "-n", "--dry-run", switch "-n", "--dry-run",
description: "Print what would be done rather than doing it." description: "Print what would be done rather than doing it."
flag "--message=", flag "--message=",
description: "Append the provided <message> to the default commit message." description: "Append the provided <message> to the default commit message."
switch :force switch :force
switch :quiet switch :quiet
switch :verbose switch :verbose

View File

@ -86,9 +86,8 @@ module Homebrew
installed yet, attempt to install/clone the tap before continuing. To extract installed yet, attempt to install/clone the tap before continuing. To extract
a <formula> from a tap that is not homebrew/core use <user>/<repo>/<formula>. a <formula> from a tap that is not homebrew/core use <user>/<repo>/<formula>.
EOS EOS
flag "--version=",
flag "--version=", description: "Extract the provided <version> of <formula> instead of the most recent."
description: "Extract the provided <version> of <formula> instead of the most recent."
switch :force switch :force
switch :debug switch :debug
end end

View File

@ -42,6 +42,7 @@ Uninstall <formula>.
List all installed formulae. List all installed formulae.
### `search` (<text>|`/`<text>`/`): ### `search` (<text>|`/`<text>`/`):
Perform a substring search of cask tokens and formula names for <text>. If <text> Perform a substring search of cask tokens and formula names for <text>. If <text>
is surrounded with slashes, then it is interpreted as a regular expression. is surrounded with slashes, then it is interpreted as a regular expression.
The search for <text> is extended online to `homebrew/core` and `homebrew/cask`. The search for <text> is extended online to `homebrew/core` and `homebrew/cask`.
@ -63,7 +64,8 @@ If no search term is given, all locally available formulae are listed.
### `bundle` <subcommand>: ### `bundle` <subcommand>:
Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store. See `brew bundle --help`. Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.
See `brew bundle --help`.
**Homebrew/homebrew-bundle**: <https://github.com/Homebrew/homebrew-bundle> **Homebrew/homebrew-bundle**: <https://github.com/Homebrew/homebrew-bundle>
@ -75,7 +77,8 @@ Install macOS applications distributed as binaries. See brew-cask(1).
### `services` <subcommand>: ### `services` <subcommand>:
Manage background services with macOS' `launchctl`(1) daemon manager. See `brew services --help`. Manage background services with macOS' `launchctl`(1) daemon manager.
See `brew services --help`.
**Homebrew/homebrew-services**: <https://github.com/Homebrew/homebrew-services> **Homebrew/homebrew-services**: <https://github.com/Homebrew/homebrew-services>
@ -116,7 +119,8 @@ Note that environment variables must have a value set to be detected. For exampl
`export HOMEBREW_NO_INSECURE_REDIRECT`. `export HOMEBREW_NO_INSECURE_REDIRECT`.
* `HOMEBREW_ARCH`: * `HOMEBREW_ARCH`:
Linux only: If set, Homebrew will pass the set value to type name to the compiler's `-march` option instead of using the default (`-march=native`). Linux only: If set, Homebrew will pass the set value to type name to the compiler's
`-march` option instead of using the default (`-march=native`).
* `HOMEBREW_ARTIFACT_DOMAIN`: * `HOMEBREW_ARTIFACT_DOMAIN`:
If set, instructs Homebrew to prefix all download URLs, including those for bottles, If set, instructs Homebrew to prefix all download URLs, including those for bottles,