diff options
author | Ilya Nazarov <ilpochta@gmail.com> | 2016-02-19 16:54:15 +0600 |
---|---|---|
committer | Ilya Nazarov <ilpochta@gmail.com> | 2016-02-19 16:54:15 +0600 |
commit | 291d21cc2ffe042fc3134d935e4f810184e82138 (patch) | |
tree | d6dc07c9d485fceabae20623e18899b42746c003 /python/bro.py | |
parent | 722f8996b05bdec7c375462f9139e72ed33e3c85 (diff) | |
download | brotli-291d21cc2ffe042fc3134d935e4f810184e82138.zip brotli-291d21cc2ffe042fc3134d935e4f810184e82138.tar.gz brotli-291d21cc2ffe042fc3134d935e4f810184e82138.tar.bz2 |
Fix choices for --lgwin and --mode in python/bro.py.
Diffstat (limited to 'python/bro.py')
-rwxr-xr-x | python/bro.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/bro.py b/python/bro.py index eae9b8f..c4cf7e2 100755 --- a/python/bro.py +++ b/python/bro.py @@ -61,7 +61,7 @@ def main(args=None): parser.add_argument('-d', '--decompress', action='store_true', help='Decompress input file', default=False) params = parser.add_argument_group('optional encoder parameters') - params.add_argument('-m', '--mode', metavar="MODE", type=int, choices=[0, 1], + params.add_argument('-m', '--mode', metavar="MODE", type=int, choices=[0, 1, 2], help='The compression mode can be 0 for generic input, ' '1 for UTF-8 encoded text, or 2 for WOFF 2.0 font data. ' 'Defaults to 0.') @@ -71,7 +71,7 @@ def main(args=None): 'tradeoff. The higher the quality, the slower the ' 'compression. Range is 0 to 11. Defaults to 11.') params.add_argument('--lgwin', metavar="LGWIN", type=int, - choices=list(range(16, 25)), + choices=list(range(10, 25)), help='Base 2 logarithm of the sliding window size. Range is ' '10 to 24. Defaults to 22.') params.add_argument('--lgblock', metavar="LGBLOCK", type=int, |