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 +```