diff --git a/src/installer/kiwix-install.cpp b/src/installer/kiwix-install.cpp index db7339c..1528eb3 100644 --- a/src/installer/kiwix-install.cpp +++ b/src/installer/kiwix-install.cpp @@ -32,7 +32,7 @@ enum supportedBackend { XAPIAN, CLUCENE }; enum supportedAction { NONE, ADDCONTENT }; void usage() { - cout << "Usage: kiwix-install [--verbose|-v] [--backend|-b=xapian|clucene] [--buildIndex|-i] ADDCONTENT ZIM_PATH KIWIX_PATH" << endl; + cout << "Usage: kiwix-install [--verbose|-v] [--backend|-b=xapian|clucene] [--buildIndex|-i] addcontent ZIM_PATH KIWIX_PATH" << endl; exit(1); } @@ -83,7 +83,7 @@ int main(int argc, char **argv) { if (optind < argc) { if (action == NONE) { string actionString = argv[optind++]; - if (actionString == "ADDCONTENT") { + if (actionString == "addcontent") { action = ADDCONTENT; } } else if (contentPath == NULL) { diff --git a/src/man/kiwix-compact.1 b/src/man/kiwix-compact.1 index e5f449a..8c4e0a2 100644 --- a/src/man/kiwix-compact.1 +++ b/src/man/kiwix-compact.1 @@ -9,8 +9,8 @@ kiwix-compact INDEX_PATH Compacts ZIM Index files used by Kiwix using xapian-compact .TP -\fBZIM_PATH\fR -ZIM file path to compact. +\fBINDEX_PATH\fR +Full-text index path to compact. .SH SEE ALSO kiwix(1) kiwix-index(1) kiwix-manage(1) xapian-compact(1) @@ -18,4 +18,6 @@ kiwix(1) kiwix-index(1) kiwix-manage(1) xapian-compact(1) kiwix-install(1) kiwix-serve(1) .SH AUTHOR -Emmanuel Engelhart \ No newline at end of file +Emmanuel Engelhart +.br +Vasudev Kamath (Manual) \ No newline at end of file diff --git a/src/man/kiwix-index.1 b/src/man/kiwix-index.1 index c9b690a..7979b14 100644 --- a/src/man/kiwix-index.1 +++ b/src/man/kiwix-index.1 @@ -26,4 +26,6 @@ kiwix-compact(1) kiwix-manage(1) kiwix-serve(1) kiwix(1) kiwix-install(1) .SH AUTHOR -Emmanuel Engelhart \ No newline at end of file +Emmanuel Engelhart +.br +Vasudev Kamath (Manual) \ No newline at end of file diff --git a/src/man/kiwix-install.1 b/src/man/kiwix-install.1 index 7874ddc..033b6f3 100644 --- a/src/man/kiwix-install.1 +++ b/src/man/kiwix-install.1 @@ -3,7 +3,7 @@ kiwix-install \- Kiwix ZIM Installer .SH SYNOPSIS .IX Header SYNOPSIS -kiwix-install [--verbose|-v] [--backend|-b=xapian|clucene] [--buildIndex|-i] ADDCONTENT ZIM_PATH KIWIX_PATH +kiwix-install [--verbose|-v] [--backend|-b=xapian|clucene] [--buildIndex|-i] addcontent ZIM_PATH KIWIX_PATH .SH DESCRIPTION .PP Creates a standalone Kiwix + data hierarchy. @@ -35,4 +35,6 @@ The path must contain the kiwix standalone binary. .SH SEE ALSO kiwix(1) kiwix-index(1) kiwix-serve(1) kiwix-compact(1) kiwix-manage(1) .SH AUTHOR -Emmanuel Engelhart \ No newline at end of file +Emmanuel Engelhart +.br +Vasudev Kamath (Manual) \ No newline at end of file diff --git a/src/man/kiwix-manage.1 b/src/man/kiwix-manage.1 index f3c51bc..31ffa1e 100644 --- a/src/man/kiwix-manage.1 +++ b/src/man/kiwix-manage.1 @@ -34,7 +34,29 @@ Show the given \fBCONTENT_ID\fP from \fBLIBRARY_FILE\fR. If no \fBCONTENT_ID\fP \fBremove\fR Removes the given \fBCONTENT_ID\fR from \fBLIBRARY_FILE\fR. At least one \fBCONTENT_ID\fR should be specified. +.TP +\fB\-\-zimPathToSave=\fR +Change the location reference of the ZIM file in the library. + +.TP +\fB\-\-current\fR +Mark this content as the current (default) content in the library. + +.TP +\fB\-\-backend=xapian|clucene\fR +Selects an indexing backend. + +.TP +\fB\-\-indexPath=FULLTEXT_IDX_PATH\fR +Path to full-text index for that ZIM file. + +.TP +\fBurl\fR +Sets the content location of the ZIM file over the network for in-kiwix download. + .SH SEE ALSO kiwix(1) kiwix-index(1) kiwix-install(1) kiwix-serve(1) kiwix-compact(1) .SH AUTHOR Emmanuel Engelhart +.br +Vasudev Kamath (Manual) \ No newline at end of file diff --git a/src/man/kiwix-serve.1 b/src/man/kiwix-serve.1 index 77bef20..237236a 100644 --- a/src/man/kiwix-serve.1 +++ b/src/man/kiwix-serve.1 @@ -50,4 +50,6 @@ kiwix(1) kiwix-index(1) kiwix-manage(1) .br kiwix-install(1) kiwix-compact(1) .SH AUTHOR -Emmanuel Engelhart \ No newline at end of file +Emmanuel Engelhart +.br +Vasudev Kamath (Manual) \ No newline at end of file diff --git a/src/man/kiwix.1 b/src/man/kiwix.1 index 1f08219..90a12ec 100644 --- a/src/man/kiwix.1 +++ b/src/man/kiwix.1 @@ -38,4 +38,6 @@ kiwix-compact(1) kiwix-manage(1) Guillaume Duhamel Fabien Coullon Renaud Gaudin - Wilfredo Rodriguez \ No newline at end of file + Wilfredo Rodriguez + .br +Vasudev Kamath (Manual) \ No newline at end of file