diff --git a/README b/README index 4409886..8fde1ee 100644 --- a/README +++ b/README @@ -35,7 +35,8 @@ $ pixz -d foo.tpxz # Extract it to foo.tar, removing the original Other flags: $ pixz -1 foo.tar # Faster, worse compression -$ pixz -9 foo.tar # Better, slower compression +$ pixz -9 foo.tar # Better, slower compression +$ pixz -p 2 foo.tar # Cap the number of threads at 2 $ pixz -t foo.tar # Compress but don't treat it as a tarball (don't index it) $ pixz -d -t foo.tpxz # Decompress foo, don't check that contents match index diff --git a/pixz.c b/pixz.c index b81bde8..22bf3ff 100644 --- a/pixz.c +++ b/pixz.c @@ -38,6 +38,7 @@ static void usage(const char *msg) { "\n" "Other flags:\n" " -0, -1 ... -9 Set compression level, from fastest to strongest\n" +" -p NUM Use a maximum of NUM CPU-intensive threads\n" " -t Don't assume input is in tar format\n" " -h Print this help\n" "\n"