From a15822361fc0fb69c6077a2e5cc400fd7dc0a867 Mon Sep 17 00:00:00 2001 From: Brent Beardsley Date: Thu, 21 Mar 2019 22:00:14 -0600 Subject: [PATCH] added usage --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 33d8914..ce61c4e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # timeconverter convert timestamps to local time or specified timezone + +## usage +``` +timeconverter [options] + +Options + -format string + format to use (default "Mon 2006 Jan 02 03:04pm MST") + -location string + tzdata location to convert to (default "Local") + -version + print version number and exit +Commands + help -> show this help + version -> print version number and exit + -> string with timestamps in it + - -> pipe input with timestamps from stdin +```