Skip to content

Commit

Permalink
--longDescription is not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed May 27, 2024
1 parent 3525f4a commit 134920d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/zimwriterfs/zimwriterfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,6 @@ void usage()
std::cout << "\t-t, --title\t\ttitle of the ZIM file" << std::endl;
std::cout << "\t-d, --description\tshort description of the content"
<< std::endl;
std::cout << "\t-L, --longDescription\tlong description of the content"
<< std::endl;
std::cout << "\t-c, --creator\t\tcreator(s) of the content" << std::endl;
std::cout << "\t-p, --publisher\t\tcreator of the ZIM file itself"
<< std::endl;
Expand All @@ -201,6 +199,8 @@ void usage()
<< std::endl;
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-L, --longDescription\tlong description of the content"
<< std::endl;

Check warning on line 203 in src/zimwriterfs/zimwriterfs.cpp

View check run for this annotation

Codecov / codecov/patch

src/zimwriterfs/zimwriterfs.cpp#L202-L203

Added lines #L202 - L203 were not covered by tests
std::cout
<< "\t-m, --clusterSize\tnumber of bytes per ZIM cluster (default: 2048Kb)"
<< std::endl;
Expand Down Expand Up @@ -283,7 +283,7 @@ void parse_args(int argc, char** argv)

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

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

0 comments on commit 134920d

Please sign in to comment.