update docs for recent '-L' option addition
This commit is contained in:
parent
da440c9324
commit
132444dec3
4 changed files with 14 additions and 2 deletions
|
@ -234,6 +234,8 @@ function printHelp() {
|
||||||
p(' short: like "long", but more concise');
|
p(' short: like "long", but more concise');
|
||||||
p(' -j shortcut for `-o json`');
|
p(' -j shortcut for `-o json`');
|
||||||
p(' -0 shortcut for `-o bunyan`');
|
p(' -0 shortcut for `-o bunyan`');
|
||||||
|
p(' -L, --time local');
|
||||||
|
p(' Display time field in local time, rather than UTC.');
|
||||||
p('');
|
p('');
|
||||||
p('Environment Variables:');
|
p('Environment Variables:');
|
||||||
p(' BUNYAN_NO_COLOR Set to a non-empty value to force no output ');
|
p(' BUNYAN_NO_COLOR Set to a non-empty value to force no output ');
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.\" generated with Ronn/v0.7.3
|
.\" generated with Ronn/v0.7.3
|
||||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||||
.
|
.
|
||||||
.TH "BUNYAN" "1" "August 2014" "" "bunyan manual"
|
.TH "BUNYAN" "1" "January 2015" "" "bunyan manual"
|
||||||
.
|
.
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
\fBbunyan\fR \- filter and pretty\-print Bunyan log file content
|
\fBbunyan\fR \- filter and pretty\-print Bunyan log file content
|
||||||
|
@ -142,6 +142,10 @@ Specify an output format\. One of \fBlong\fR (the default), \fBshort\fR, \fBjson
|
||||||
\fB\-j\fR
|
\fB\-j\fR
|
||||||
Shortcut for \fB\-o json\fR\.
|
Shortcut for \fB\-o json\fR\.
|
||||||
.
|
.
|
||||||
|
.TP
|
||||||
|
\fB\-L\fR, \fB\-\-time local\fR
|
||||||
|
Display the time field in \fIlocal\fR time, rather than the default UTC time\.
|
||||||
|
.
|
||||||
.SH "LOG LEVELS"
|
.SH "LOG LEVELS"
|
||||||
In Bunyan log records, then \fBlevel\fR field is a number\. For the \fB\-l|\-\-level\fR argument the level \fBnames\fR are supported as shortcuts\. In \fB\-c|\-\-condition\fR scripts, uppercase symbols like "DEBUG" are defined for convenience\.
|
In Bunyan log records, then \fBlevel\fR field is a number\. For the \fB\-l|\-\-level\fR argument the level \fBnames\fR are supported as shortcuts\. In \fB\-c|\-\-condition\fR scripts, uppercase symbols like "DEBUG" are defined for convenience\.
|
||||||
.
|
.
|
||||||
|
|
|
@ -182,6 +182,8 @@ non-Bunyan lines are passed through.</p></dd>
|
||||||
<dt><code>-o FORMAT</code>, <code>--output FORMAT</code></dt><dd><p>Specify an output format. One of <code>long</code> (the default), <code>short</code>, <code>json</code>,
|
<dt><code>-o FORMAT</code>, <code>--output FORMAT</code></dt><dd><p>Specify an output format. One of <code>long</code> (the default), <code>short</code>, <code>json</code>,
|
||||||
<code>json-N</code>, <code>bunyan</code> (the native bunyan 0-indent JSON output) or <code>inspect</code>.</p></dd>
|
<code>json-N</code>, <code>bunyan</code> (the native bunyan 0-indent JSON output) or <code>inspect</code>.</p></dd>
|
||||||
<dt class="flush"><code>-j</code></dt><dd><p>Shortcut for <code>-o json</code>.</p></dd>
|
<dt class="flush"><code>-j</code></dt><dd><p>Shortcut for <code>-o json</code>.</p></dd>
|
||||||
|
<dt><code>-L</code>, <code>--time local</code></dt><dd><p>Display the time field in <em>local</em> time, rather than the default UTC
|
||||||
|
time.</p></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
@ -270,7 +272,7 @@ All rights reserved.</p>
|
||||||
|
|
||||||
<ol class='man-decor man-foot man foot'>
|
<ol class='man-decor man-foot man foot'>
|
||||||
<li class='tl'></li>
|
<li class='tl'></li>
|
||||||
<li class='tc'>August 2014</li>
|
<li class='tc'>January 2015</li>
|
||||||
<li class='tr'>bunyan(1)</li>
|
<li class='tr'>bunyan(1)</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
|
|
@ -109,6 +109,10 @@ Output options:
|
||||||
* `-j`:
|
* `-j`:
|
||||||
Shortcut for `-o json`.
|
Shortcut for `-o json`.
|
||||||
|
|
||||||
|
* `-L`, `--time local`:
|
||||||
|
Display the time field in *local* time, rather than the default UTC
|
||||||
|
time.
|
||||||
|
|
||||||
|
|
||||||
## LOG LEVELS
|
## LOG LEVELS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue