Skip to content

Commit

Permalink
Merge pull request #1643 from openzim/always-zstd
Browse files Browse the repository at this point in the history
Remove --zstd option (always using zstd)
  • Loading branch information
kelson42 authored Jul 20, 2022
2 parents 2448e2b + 38ee8b7 commit f9e807a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/mwoffliner.lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ async function execute(argv: any) {
optimisationCacheUrl,
noLocalParserFallback,
forceLocalParser,
customFlavour,
zstd,
customFlavour
} = argv;

(process as any).verbose = !!verbose;
Expand Down Expand Up @@ -403,7 +402,7 @@ async function execute(argv: any) {
fileName: outZim,
fullTextIndexLanguage: dump.opts.withoutZimFullTextIndex ? '' : dump.mwMetaData.langIso3,
welcome: (dump.opts.mainPage ? dump.opts.mainPage : 'index'),
compression: zstd ? 'zstd' : 'lzma',
compression: 'zstd',
}, {
Tags: dump.computeZimTags(),
Language: dump.mwMetaData.langIso3,
Expand Down
1 change: 0 additions & 1 deletion src/parameterList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ export const parameterDescriptions = {
osTmpDir: 'Override default operating system temporary directory path environment variable',
customFlavour: 'A custom processor that can filter and process articles (see extensions/*.js)',
optimisationCacheUrl: 'S3 url, including credentials and bucket name',
zstd: 'Use Zstandard as ZIM compression (Lzma otherwise)',
};

0 comments on commit f9e807a

Please sign in to comment.