aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Hoeppner2015-07-29 00:01:59 +0200
committerTill Hoeppner2015-07-29 00:01:59 +0200
commit25b2ed76faf6d55455dec3b90096faa01816f52d (patch)
tree424fbb11af6fed7b45451babb25a9571f8ef32cb
parent09f6509050f24e54c9859e0905e8b6731d91f39f (diff)
parent35096c7977efa316e537f9bfafc8bdfef1aaf8a3 (diff)
downloadilc-25b2ed76faf6d55455dec3b90096faa01816f52d.tar.gz
ilc-25b2ed76faf6d55455dec3b90096faa01816f52d.tar.xz
ilc-25b2ed76faf6d55455dec3b90096faa01816f52d.zip
Merge branch 'master' of github.com:tilpner/ilc
-rw-r--r--README.md26
1 files changed, 21 insertions, 5 deletions
diff --git a/README.md b/README.md
index f7b9984..7ca1972 100644
--- a/README.md
+++ b/README.md
@@ -3,14 +3,11 @@ ilc
**So... what is this thing?**
-ilc is *supposed to be* a library to work with common IRC log formats, as well as a collection
+ilc is a library to work with common IRC log formats, as well as a collection
of commonly needed utilities for IRC logs.
-**Supposed to be? What can it do for me now?**
-
-The library can convert between most of the EnergyMech and Weechat3 log formats.
+The library can convert between most of the EnergyMech and Weechat3 log formats, as well as binary and msgpack representations of them.
The tools can pretty-print them, and count the lines/words that people said in them.
-They're not really configurable yet, so you'd have to recompile it for that... <sup><sup>yesiknowitsucks</sup></sup>
**Are you stupid? Why Rust?**
@@ -36,3 +33,22 @@ is known to compile with
To compile:
cargo build --release
+
+**Usage**
+```
+Usage:
+ ilc parse [options] [-i FILE...]
+ ilc convert [options] [-i FILE...]
+ ilc freq [options] [-i FILE...]
+ ilc (-h | --help | -v | --version)
+Options:
+ -h --help Show this screen.
+ -v --version Show the version (duh).
+ --date DATE Override the date for this log. ISO 8601, YYYY-MM-DD.
+ --tz SECONDS UTC offset in the direction of the western hemisphere.
+ --channel CH Set a channel for the given log.
+ --inf INF Set the input format.
+ --outf OUTF Set the output format.
+ --in -i IN Give an input file, instead of stdin.
+ --out -o OUT Give an output file, instead of stdout.
+```