Skip to content

Commit

Permalink
--compressor-class: add more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Jul 28, 2024
1 parent 4e1904e commit 7aa187c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Usage is simple:
.. code-block:: console
$ python -m whitenoise.compress --help
usage: compress.py [-h] [-q] [--no-gzip] [--no-brotli]
usage: compress.py [-h] [-q] [--no-gzip] [--compressor-class COMPRESSOR_CLASS] [--no-brotli]
root [extensions [extensions ...]]
Search for all files inside <root> *not* matching <extensions> and produce
Expand All @@ -87,6 +87,8 @@ Usage is simple:
-q, --quiet Don't produce log output
--no-gzip Don't produce gzip '.gz' files
--no-brotli Don't produce brotli '.br' files
--compressor-class COMPRESSOR_CLASS
Custom compressor class to use (default: whitenoise.compress.Compressor)
You can either run this during development and commit your compressed files to
your repository, or you can run this as part of your build and deploy processes.
Expand Down

0 comments on commit 7aa187c

Please sign in to comment.