From 9ce46530948bea4fae10ad61a9169af282b8a578 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Tue, 30 Apr 2019 02:29:10 +0000 Subject: [PATCH] Document colouring and usage --- warc-tiny | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/warc-tiny b/warc-tiny index 867cc2d..e9de997 100755 --- a/warc-tiny +++ b/warc-tiny @@ -1,6 +1,10 @@ #!/usr/bin/env python3 -# Tiny tool for WARC stuff. Currently has two modes: verifying the integrity of a WARC by comparing the digests and dumping the HTTP response bodies to stdout. +# Tiny tool for WARC stuff. +# Operating modes: +# warc-tiny colour FILES -- coloured output of the WARCs for easier reading +# warc-tiny dump-responses FILES -- dump the HTTP response bodies to stdout +# warc-tiny verify FILES -- verify the integrity of a WARC by comparing the digests import base64 import gzip