From 132444dec310a4bfe5059f9e7b63c3042a335f80 Mon Sep 17 00:00:00 2001
From: Trent Mick
Date: Fri, 16 Jan 2015 22:37:47 -0800
Subject: [PATCH] update docs for recent '-L' option addition
---
bin/bunyan | 2 ++
docs/bunyan.1 | 6 +++++-
docs/bunyan.1.html | 4 +++-
docs/bunyan.1.ronn | 4 ++++
4 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/bin/bunyan b/bin/bunyan
index 23438c3..e3c4908 100755
--- a/bin/bunyan
+++ b/bin/bunyan
@@ -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 ');
diff --git a/docs/bunyan.1 b/docs/bunyan.1
index b231df1..41d3769 100644
--- a/docs/bunyan.1
+++ b/docs/bunyan.1
@@ -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\.
.
diff --git a/docs/bunyan.1.html b/docs/bunyan.1.html
index eab117d..c11eaf0 100644
--- a/docs/bunyan.1.html
+++ b/docs/bunyan.1.html
@@ -182,6 +182,8 @@ non-Bunyan lines are passed through.
-o FORMAT
, --output FORMAT
Specify an output format. One of long
(the default), short
, json
,
json-N
, bunyan
(the native bunyan 0-indent JSON output) or inspect
.
-j
Shortcut for -o json
.
+-L
, --time local
Display the time field in local time, rather than the default UTC
+time.
@@ -270,7 +272,7 @@ All rights reserved.
diff --git a/docs/bunyan.1.ronn b/docs/bunyan.1.ronn
index 1fe0d1e..c09b933 100644
--- a/docs/bunyan.1.ronn
+++ b/docs/bunyan.1.ronn
@@ -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