Fix style

This commit is contained in:
Rylan Polster 2021-07-16 01:50:24 -04:00
parent bcbb47e717
commit 4ed44aa682
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64
4 changed files with 4 additions and 6 deletions

View File

@ -647,7 +647,7 @@ then
then
if [[ -z "${HOMEBREW_DEV_CMD_RUN}" ]]
then
message="$(bold ${HOMEBREW_COMMAND}) is a developer command, so
message="$(bold "${HOMEBREW_COMMAND}") is a developer command, so
Homebrew's developer mode has been automatically turned on.
To turn developer mode off, run $(bold "brew developer off")
"

View File

@ -50,9 +50,7 @@ module Homebrew
Homebrew::Settings.write "devcmdrun", true
when "off"
Homebrew::Settings.delete "devcmdrun"
if env_vars.any?
puts "To fully disable developer mode, you must unset #{env_vars.to_sentence}."
end
puts "To fully disable developer mode, you must unset #{env_vars.to_sentence}." if env_vars.any?
else
raise UsageError, "unknown subcommand: #{args.named.first}"
end

View File

@ -188,7 +188,7 @@ first search, making that search slower than subsequent ones.
Control Homebrew's developer mode. When developer mode is enabled,
`brew update` will update Homebrew to the latest commit on the `master`
branch instead of the latest stable version.
branch instead of the latest stable version along with some other behaviour changes.
`brew developer` [`state`]
<br>Display the current state of Homebrew's developer mode.

View File

@ -230,7 +230,7 @@ Search just names for \fItext\fR\. If \fItext\fR is flanked by slashes, it is in
Search just descriptions for \fItext\fR\. If \fItext\fR is flanked by slashes, it is interpreted as a regular expression\.
.
.SS "\fBdeveloper\fR [\fIsubcommand\fR]"
Control Homebrew\'s developer mode\. When developer mode is enabled, \fBbrew update\fR will update Homebrew to the latest commit on the \fBmaster\fR branch instead of the latest stable version\.
Control Homebrew\'s developer mode\. When developer mode is enabled, \fBbrew update\fR will update Homebrew to the latest commit on the \fBmaster\fR branch instead of the latest stable version along with some other behaviour changes\.
.
.P
\fBbrew developer\fR [\fBstate\fR]