Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'compresslevel' flag error #15

Open
matkuki opened this issue Oct 23, 2022 · 1 comment
Open

'compresslevel' flag error #15

matkuki opened this issue Oct 23, 2022 · 1 comment

Comments

@matkuki
Copy link

matkuki commented Oct 23, 2022

Using -t:zstd with the --compresslevel:<x> flag works, while with the -cl:<x> flag it skips whatever is selected, it's always 3.

@weh
Copy link

weh commented Sep 13, 2023

i see the problem:

if you use -cl=4 it will use the default of 3

nimassets -t=zstd -cl=4 -d=templatesdir -o=file.nim
templatesdir/chatapp.html ... zstd-level:3 ... build_string ... ok
templatesdir/index.html ... zstd-level:3 ... build_string ... ok

you have to use --cl=4

nimassets -t=zstd --cl=4 -d=templatesdir -o=file.nim
templatesdir/chatapp.html ... zstd-level:4 ... build_string ... ok
templatesdir/index.html ... zstd-level:4 ... build_string ... ok

so the question is, do you want to change the short version e.g. from cl to just c or modify the help output to use two hyphens --cl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants