Skip to content

Commit

Permalink
added usage
Browse files Browse the repository at this point in the history
  • Loading branch information
bbeardsley committed Mar 22, 2019
1 parent a0eb64e commit a158223
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# timeconverter
convert timestamps to local time or specified timezone

## usage
```
timeconverter [options] <command>
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
<value> -> string with timestamps in it
- -> pipe input with timestamps from stdin
```

0 comments on commit a158223

Please sign in to comment.