Permalink
Browse files

update docs for recent '-L' option addition

  • Loading branch information...
1 parent da440c9 commit 132444dec310a4bfe5059f9e7b63c3042a335f80 @trentm committed Jan 17, 2015
Showing with 14 additions and 2 deletions.
  1. +2 −0 bin/bunyan
  2. +5 −1 docs/bunyan.1
  3. +3 −1 docs/bunyan.1.html
  4. +4 −0 docs/bunyan.1.ronn
View
@@ -234,6 +234,8 @@ function printHelp() {
p(' short: like "long", but more concise');
p(' -j shortcut for `-o json`');
p(' -0 shortcut for `-o bunyan`');
+ p(' -L, --time local');
+ p(' Display time field in local time, rather than UTC.');
p('');
p('Environment Variables:');
p(' BUNYAN_NO_COLOR Set to a non-empty value to force no output ');
View
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.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"
\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
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"
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\.
.
View
@@ -182,6 +182,8 @@ <h2 id="OPTIONS">OPTIONS</h2>
<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>
<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>
@@ -270,7 +272,7 @@ <h2 id="COPYRIGHT">COPYRIGHT</h2>
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
- <li class='tc'>August 2014</li>
+ <li class='tc'>January 2015</li>
<li class='tr'>bunyan(1)</li>
</ol>
View
@@ -109,6 +109,10 @@ Output options:
* `-j`:
Shortcut for `-o json`.
+ * `-L`, `--time local`:
+ Display the time field in *local* time, rather than the default UTC
+ time.
+
## LOG LEVELS

0 comments on commit 132444d

Please sign in to comment.