From 82ea27ce317be13e9a4937bf83d941c3f0fba0ff Mon Sep 17 00:00:00 2001 From: Thiago Macieira <thiago.macieira@intel.com> Date: Thu, 8 Nov 2018 12:07:25 -0800 Subject: [PATCH] Update rcc documentation to reflect Zstandard Change-Id: I42a48bd64ccc41aebf84fffd15653eef5a71b0a6 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> --- doc/src/development/rcc.qdoc | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/doc/src/development/rcc.qdoc b/doc/src/development/rcc.qdoc index cb9d44a7..a9edb639 100644 --- a/doc/src/development/rcc.qdoc +++ b/doc/src/development/rcc.qdoc @@ -57,16 +57,22 @@ which are 30% or less of their original size are stored as compressed data. - \row \li \c{-compress} \li \c{level} \li Compress input files to the given - compression \c{level}, which is an - integer in the range 1 to 9. Level 1 - does the least compression but is - fastest. Level 9 does the most - compression but is slowest. To turn - off compression, use \c{-no-compress}. - The default value for \c{level} is -1, - which means use zlib's default - compression level. + \row \li \c{-compress-algo} \li \c{algorithm} \li The algorithm to compress files with. + Supported algorithms are \c{zstd}, \c{zlib}, and \c{none}, which + respectively mean to compress the content using the + \l{Zstandard}{https://zstd.net} library, \l{zlib}{https://zlib.net} + library, and no compression. The default is \c{zstd} if that + library was found at compile time, \c{zlib} if not. + + \row \li \c{-compress} \li \c{level} \li Compress input files to the given compression + \c{level}, which is algorithm-dependent. If the algorithm is + \c{zstd}, the valid levels are 1 to 19, with the special values of + 0 and -1 meaning \c{libzstd}'s and \c {rcc}'s default compressions. + If the algorithm is \c{zlib}, the level is an integer in the range + 1 to 9. For both algorithms, level 1 does the least compression + but is fastest. Levels 9 or 19 do the most compression but are + slowest. To turn off compression, use \c{-no-compress}. The default + value for \c{level} is -1. \row \li \c{-root} \li \c{path} \li Prefix the resource access path with \c{path}. The default is no prefix. -- GitLab