diff options
| author | Xu Cheng | 2016-05-01 22:04:46 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-05-01 22:04:46 +0800 |
| commit | 98aff27317eaf50c869341e04562062ecd09bd85 (patch) | |
| tree | 94cbc46aa759141d4684d9c850468e1db507794f /share | |
| parent | 90d3317d7dc9d809d7fc8da15e824161a0ce3008 (diff) | |
| download | brew-98aff27317eaf50c869341e04562062ecd09bd85.tar.bz2 | |
add `brew analytics` command (#173)
Diffstat (limited to 'share')
| -rw-r--r-- | share/doc/homebrew/Analytics.md | 2 | ||||
| -rw-r--r-- | share/doc/homebrew/brew.1.html | 4 | ||||
| -rw-r--r-- | share/man/man1/brew.1 | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/share/doc/homebrew/Analytics.md b/share/doc/homebrew/Analytics.md index 2200335e1..0e7824532 100644 --- a/share/doc/homebrew/Analytics.md +++ b/share/doc/homebrew/Analytics.md @@ -53,5 +53,5 @@ export HOMEBREW_NO_ANALYTICS=1 Alternatively, this will prevent analytics from ever being sent: ```sh -git config --file="$(brew --repository)/.git/config" --replace-all homebrew.analyticsdisabled true +brew analytics off ``` diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html index 1f3b5142b..56b217677 100644 --- a/share/doc/homebrew/brew.1.html +++ b/share/doc/homebrew/brew.1.html @@ -35,6 +35,10 @@ If no search term is given, all locally available formulae are listed.</p></dd> <h2 id="COMMANDS">COMMANDS</h2> <dl> +<dt><code>analytics</code> [<code>state</code>]</dt><dd><p>Display anonymous user behaviour analytics state. +Read more at <a href="https://git.io/brew-analytics" data-bare-link="true">https://git.io/brew-analytics</a>.</p></dd> +<dt><code>analytics</code> (<code>on</code>|<code>off</code>)</dt><dd><p>Turn on/off Homebrew's analytics.</p></dd> +<dt><code>analytics</code> <code>regenerate-uuid</code></dt><dd><p>Regenerate UUID used in Homebrew's analytics.</p></dd> <dt><code>audit</code> [<code>--strict</code>] [<code>--online</code>] [<code>--display-cop-names</code>] [<var>formulae</var>]</dt><dd><p>Check <var>formulae</var> for Homebrew coding style violations. This should be run before submitting a new formula.</p> diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 577dd95c8..3e6ba709c 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW" "1" "April 2016" "Homebrew" "brew" +.TH "BREW" "1" "May 2016" "Homebrew" "brew" . .SH "NAME" \fBbrew\fR \- The missing package manager for OS X @@ -44,6 +44,18 @@ Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is su .SH "COMMANDS" . .TP +\fBanalytics\fR [\fBstate\fR] +Display anonymous user behaviour analytics state\. Read more at \fIhttps://git\.io/brew\-analytics\fR\. +. +.TP +\fBanalytics\fR (\fBon\fR|\fBoff\fR) +Turn on/off Homebrew\'s analytics\. +. +.TP +\fBanalytics\fR \fBregenerate\-uuid\fR +Regenerate UUID used in Homebrew\'s analytics\. +. +.TP \fBaudit\fR [\fB\-\-strict\fR] [\fB\-\-online\fR] [\fB\-\-display\-cop\-names\fR] [\fIformulae\fR] Check \fIformulae\fR for Homebrew coding style violations\. This should be run before submitting a new formula\. . |
