Skip to content

Commit

Permalink
Merge pull request #291 from openzim/fix-usage-indentation-zimwriterfs
Browse files Browse the repository at this point in the history
Fix zimwriterfs usage() indentation
  • Loading branch information
kelson42 authored Feb 12, 2022
2 parents 71758a0 + 9e6b074 commit 288dce5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/zimwriterfs/zimwriterfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void usage()
std::cout << "\t-w, --welcome\t\tpath of default/main HTML page. The path "
"must be relative to HTML_DIRECTORY."
<< std::endl;
std::cout << "\t-I, --illustration\t\tpath of ZIM file illustration. The path must be "
std::cout << "\t-I, --illustration\tpath of ZIM file illustration. The path must be "
"relative to HTML_DIRECTORY and the image a 48x48 PNG."
<< std::endl;
std::cout << "\t-l, --language\t\tlanguage code of the content in ISO639-3"
Expand All @@ -140,9 +140,9 @@ void usage()
std::cout << "\t-h, --help\t\tprint this help" << std::endl;
std::cout << "\t-V, --version\t\tprint the version number" << std::endl;
std::cout
<< "\t--clusterSize\tnumber of bytes per ZIM cluster (default: 2048Kb)"
<< "\t-m, --clusterSize\tnumber of bytes per ZIM cluster (default: 2048Kb)"
<< std::endl;
std::cout << "\t-J, --threads\tcount of threads to utilize (default: 4)"
std::cout << "\t-J, --threads\t\tcount of threads to utilize (default: 4)"
<< std::endl;
std::cout << "\t-x, --inflateHtml\ttry to inflate HTML files before packing "
"(*.html, *.htm, ...)"
Expand Down Expand Up @@ -218,7 +218,7 @@ void parse_args(int argc, char** argv)

do {
c = getopt_long(
argc, argv, "hVvijxuw:I:t:d:c:l:p:r:e:n:J:UB", long_options, &option_index);
argc, argv, "hVvijxuw:I:t:d:c:l:p:r:e:n:m:J:UB", long_options, &option_index);

if (c != -1) {
switch (c) {
Expand Down

0 comments on commit 288dce5

Please sign in to comment.