Open matkuki opened 1 year ago
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
Using
-t:zstd
with the--compresslevel:<x>
flag works, while with the-cl:<x>
flag it skips whatever is selected, it's always3
.