From 8a988a59275d31804f00ce5ac1927b65043aef0e Mon Sep 17 00:00:00 2001 From: benoit74 Date: Thu, 5 Dec 2024 16:46:09 +0100 Subject: [PATCH] Fix zimwriterfs usage sample command Sample command output in zimwriterfs command has two issues: - it is not working (anymore?) because it misses the required `--name` parameter - it does not propose a ZIM filename compliant with our conventions This commit fixes both issues. --- src/zimwriterfs/zimwriterfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zimwriterfs/zimwriterfs.cpp b/src/zimwriterfs/zimwriterfs.cpp index df801457..c7c726e9 100644 --- a/src/zimwriterfs/zimwriterfs.cpp +++ b/src/zimwriterfs/zimwriterfs.cpp @@ -235,7 +235,7 @@ void usage() std::cout << "Example:" << std::endl; std::cout << "\tzimwriterfs --welcome=index.html --illustration=illustration.png --language=fra --title=foobar --description=mydescription \\\n\t\t\ ---creator=Wikipedia --publisher=Kiwix ./my_project_html_directory my_project.zim" +--creator=Wikipedia --publisher=Kiwix --name tests_fra_my-project ./my_project_html_directory tests_fra_my-project_202412.zim" << std::endl; std::cout << std::endl;