style: trim trailing whitespaces

This commit is contained in:
XuehaiPan 2021-09-14 21:03:03 +08:00
parent 570fac7f47
commit 8a363b2fb5
6 changed files with 8 additions and 8 deletions

View File

@ -31,7 +31,7 @@ module Homebrew
flag "--json", flag "--json",
description: "Print output in JSON format. There are two versions: `v1` and `v2`. " \ description: "Print output in JSON format. There are two versions: `v1` and `v2`. " \
"`v1` is deprecated and is currently the default if no version is specified. " \ "`v1` is deprecated and is currently the default if no version is specified. " \
"`v2` prints outdated formulae and casks. " "`v2` prints outdated formulae and casks."
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 only be checked for "\ "formula is outdated. Otherwise, the repository's HEAD will only be checked for "\

View File

@ -1036,7 +1036,7 @@ __fish_brew_complete_arg 'outdated' -l greedy -d 'Print outdated casks with `aut
__fish_brew_complete_arg 'outdated' -l greedy-auto-updates -d 'Print outdated casks including those with `auto_updates true`' __fish_brew_complete_arg 'outdated' -l greedy-auto-updates -d 'Print outdated casks including those with `auto_updates true`'
__fish_brew_complete_arg 'outdated' -l greedy-latest -d 'Print outdated casks including those with `version :latest`' __fish_brew_complete_arg 'outdated' -l greedy-latest -d 'Print outdated casks including those with `version :latest`'
__fish_brew_complete_arg 'outdated' -l help -d 'Show this message' __fish_brew_complete_arg 'outdated' -l help -d 'Show this message'
__fish_brew_complete_arg 'outdated' -l json -d 'Print output in JSON format. There are two versions: `v1` and `v2`. `v1` is deprecated and is currently the default if no version is specified. `v2` prints outdated formulae and casks. ' __fish_brew_complete_arg 'outdated' -l json -d 'Print output in JSON format. There are two versions: `v1` and `v2`. `v1` is deprecated and is currently the default if no version is specified. `v2` prints outdated formulae and casks'
__fish_brew_complete_arg 'outdated' -l quiet -d 'List only the names of outdated kegs (takes precedence over `--verbose`)' __fish_brew_complete_arg 'outdated' -l quiet -d 'List only the names of outdated kegs (takes precedence over `--verbose`)'
__fish_brew_complete_arg 'outdated' -l verbose -d 'Include detailed version information' __fish_brew_complete_arg 'outdated' -l verbose -d 'Include detailed version information'
__fish_brew_complete_arg 'outdated; and not __fish_seen_argument -l cask -l casks' -a '(__fish_brew_suggest_formulae_all)' __fish_brew_complete_arg 'outdated; and not __fish_seen_argument -l cask -l casks' -a '(__fish_brew_suggest_formulae_all)'

View File

@ -1267,7 +1267,7 @@ _brew_outdated() {
'--greedy-auto-updates[Print outdated casks including those with `auto_updates true`]' \ '--greedy-auto-updates[Print outdated casks including those with `auto_updates true`]' \
'--greedy-latest[Print outdated casks including those with `version :latest`]' \ '--greedy-latest[Print outdated casks including those with `version :latest`]' \
'--help[Show this message]' \ '--help[Show this message]' \
'(--quiet --verbose)--json[Print output in JSON format. There are two versions: `v1` and `v2`. `v1` is deprecated and is currently the default if no version is specified. `v2` prints outdated formulae and casks. ]' \ '(--quiet --verbose)--json[Print output in JSON format. There are two versions: `v1` and `v2`. `v1` is deprecated and is currently the default if no version is specified. `v2` prints outdated formulae and casks]' \
'(--verbose --json)--quiet[List only the names of outdated kegs (takes precedence over `--verbose`)]' \ '(--verbose --json)--quiet[List only the names of outdated kegs (takes precedence over `--verbose`)]' \
'(--quiet --json)--verbose[Include detailed version information]' \ '(--quiet --json)--verbose[Include detailed version information]' \
- formula \ - formula \

View File

@ -13,7 +13,7 @@ If everything checks out, you're ready to get started on a new formula!
1. If you're starting from scratch, the [`brew create` command](Manpage.md#create-options-url) can be used to produce a basic version of your formula. This command accepts a number of options and you may be able to save yourself some work by using an appropriate template option like `--python`. 1. If you're starting from scratch, the [`brew create` command](Manpage.md#create-options-url) can be used to produce a basic version of your formula. This command accepts a number of options and you may be able to save yourself some work by using an appropriate template option like `--python`.
1. You will now have to work to develop the boilerplate code from `brew create` into a fully-fledged formula. Your main references will be the [Formula Cookbook](Formula-Cookbook.md), similar formulae in Homebrew, and the upstream documentation for your chosen software. Be sure to also take note of the Homebrew documentation for writing [`Python`](Python-for-Formula-Authors.md) and [`Node`](Node-for-Formula-Authors.md) formulae, if applicable. 1. You will now have to work to develop the boilerplate code from `brew create` into a fully-fledged formula. Your main references will be the [Formula Cookbook](Formula-Cookbook.md), similar formulae in Homebrew, and the upstream documentation for your chosen software. Be sure to also take note of the Homebrew documentation for writing [`Python`](Python-for-Formula-Authors.md) and [`Node`](Node-for-Formula-Authors.md) formulae, if applicable.
1. Make sure you write a good test as part of your formula. Refer to the "[Add a test to the formula](Formula-Cookbook.md#add-a-test-to-the-formula)" section of the Cookbook for help with this. 1. Make sure you write a good test as part of your formula. Refer to the "[Add a test to the formula](Formula-Cookbook.md#add-a-test-to-the-formula)" section of the Cookbook for help with this.

View File

@ -463,7 +463,7 @@ information is displayed in interactive shells, and suppressed otherwise.
* `--cask`: * `--cask`:
List only outdated casks. List only outdated casks.
* `--json`: * `--json`:
Print output in JSON format. There are two versions: `v1` and `v2`. `v1` is deprecated and is currently the default if no version is specified. `v2` prints outdated formulae and casks. Print output in JSON format. There are two versions: `v1` and `v2`. `v1` is deprecated and is currently the default if no version is specified. `v2` prints outdated formulae and casks.
* `--fetch-HEAD`: * `--fetch-HEAD`:
Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository's HEAD will only be checked for updates when a new stable or development version has been released. Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository's HEAD will only be checked for updates when a new stable or development version has been released.
* `--greedy`: * `--greedy`:

View File

@ -172,7 +172,7 @@
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "> <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Does it Does it
<br/> <br/>
say  say
<span style="font-family: &quot;system-ui-monospace&quot; , &quot;ui-monospace&quot; , &quot;lucida console&quot; , &quot;menlo&quot; , monospace"> <span style="font-family: &quot;system-ui-monospace&quot; , &quot;ui-monospace&quot; , &quot;lucida console&quot; , &quot;menlo&quot; , monospace">
bottle bottle
<br/> <br/>
@ -566,7 +566,7 @@
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "> <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Does it Does it
<br/> <br/>
say  say
<span style="font-family: &quot;system-ui-monospace&quot; , &quot;ui-monospace&quot; , &quot;lucida console&quot; , &quot;menlo&quot; , monospace"> <span style="font-family: &quot;system-ui-monospace&quot; , &quot;ui-monospace&quot; , &quot;lucida console&quot; , &quot;menlo&quot; , monospace">
bottle bottle
<br/> <br/>
@ -772,4 +772,4 @@
</text> </text>
</a> </a>
</switch> </switch>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB