From 1a40de4f555311b93fdebd1df6e5894e6e03b01b Mon Sep 17 00:00:00 2001 From: Jacob Torrey Date: Sun, 15 Oct 2023 09:54:02 -0600 Subject: [PATCH] Update README to include latest zippy.py args Signed-off-by: Jacob Torrey --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 10e6361..6e0719a 100644 --- a/README.md +++ b/README.md @@ -31,15 +31,17 @@ Here are each of them compared with both the LZMA and zlib detector across the t ZipPy will read files passed as command-line arguments, or will read from stdin to allow for piping of text to it. ``` $ python3 zippy.py -h -usage: zippy.py [-h] [-e {zlib,lzma}] [-s | sample_files ...] +usage: zippy.py [-h] [-p P] [-e {zlib,lzma,brotli,ensemble}] [-s | sample_files ...] positional arguments: - sample_files Text file(s) containing the sample to classify + sample_files Text file(s) containing the sample to classify options: - -h, --help show this help message and exit - -e {zlib,lzma} Which compression engine to use: lzma or zlib - -s Read from stdin until EOF is reached instead of from a file + -h, --help show this help message and exit + -p P Preset to use with compressor, higher values are slower but provide better compression + -e {zlib,lzma,brotli,ensemble} + Which compression engine to use: lzma, zlib, brotli, or an ensemble of all engines + -s Read from stdin until EOF is reached instead of from a file $ python3 zippy.py samples/human-generated/about_me.txt samples/human-generated/about_me.txt ('Human', 0.06013429262166636)