Merge pull request #14654 from MikeMcQuaid/analytics_cmd_google
cmd/analytics: note Google Analytics differences.
This commit is contained in:
commit
2372ed39f2
@ -22,7 +22,7 @@ module Homebrew
|
||||
Turn Homebrew's analytics on or off respectively.
|
||||
|
||||
`brew analytics regenerate-uuid`:
|
||||
Regenerate the UUID used for Homebrew's analytics.
|
||||
Regenerate the UUID used for Homebrew's Google Analytics (not InfluxDB).
|
||||
EOS
|
||||
|
||||
named_args %w[state on off regenerate-uuid], max: 1
|
||||
@ -38,7 +38,11 @@ module Homebrew
|
||||
puts "Analytics are disabled."
|
||||
else
|
||||
puts "Analytics are enabled."
|
||||
puts "UUID: #{Utils::Analytics.uuid}" if Utils::Analytics.uuid.present?
|
||||
if Homebrew::EnvConfig.no_google_analytics?
|
||||
puts "Google Analytics are disabled."
|
||||
elsif Utils::Analytics.uuid.present?
|
||||
puts "UUID: #{Utils::Analytics.uuid}"
|
||||
end
|
||||
end
|
||||
when "on"
|
||||
Utils::Analytics.enable!
|
||||
|
||||
@ -80,7 +80,7 @@ Read more at <https://docs.brew.sh/Analytics>.
|
||||
<br>Turn Homebrew's analytics on or off respectively.
|
||||
|
||||
`brew analytics regenerate-uuid`
|
||||
<br>Regenerate the UUID used for Homebrew's analytics.
|
||||
<br>Regenerate the UUID used for Homebrew's Google Analytics (not InfluxDB).
|
||||
|
||||
### `autoremove` [`--dry-run`]
|
||||
|
||||
|
||||
@ -94,7 +94,7 @@ Control Homebrew\'s anonymous aggregate user behaviour analytics\. Read more at
|
||||
.
|
||||
.P
|
||||
\fBbrew analytics regenerate\-uuid\fR
|
||||
Regenerate the UUID used for Homebrew\'s analytics\.
|
||||
Regenerate the UUID used for Homebrew\'s Google Analytics (not InfluxDB)\.
|
||||
.
|
||||
.SS "\fBautoremove\fR [\fB\-\-dry\-run\fR]"
|
||||
Uninstall formulae that were only installed as a dependency of another formula and are now no longer needed\.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user