"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "omindex.cc" between
xapian-omega-1.4.19.tar.xz and xapian-omega-1.4.20.tar.xz

About: Xapian Omega is an application built on Xapian, consisting of indexers and a CGI search frontend.

omindex.cc  (xapian-omega-1.4.19.tar.xz):omindex.cc  (xapian-omega-1.4.20.tar.xz)
skipping to change at line 420 skipping to change at line 420
if (argc == 2 && strcmp(argv[1], "-v") == 0) { if (argc == 2 && strcmp(argv[1], "-v") == 0) {
// -v was the short option for --version in 1.2.3 and earlier, but // -v was the short option for --version in 1.2.3 and earlier, but
// now it is short for --verbose (for consistency with scriptindex) // now it is short for --verbose (for consistency with scriptindex)
// so if "-v" is the only option, translate it to "--version" for // so if "-v" is the only option, translate it to "--version" for
// backwards compatibility. // backwards compatibility.
argv[1] = const_cast<char *>("--version"); argv[1] = const_cast<char *>("--version");
} }
string dbpath; string dbpath;
int getopt_ret; int getopt_ret;
while ((getopt_ret = gnu_getopt_long(argc, argv, "hvd:D:U:M:F:l:s:pfRSVe:im: E:T:", while ((getopt_ret = gnu_getopt_long(argc, argv, "hvd:D:U:M:G:F:l:s:pfRSVe:i m:E:T:C",
longopts, NULL)) != -1) { longopts, NULL)) != -1) {
switch (getopt_ret) { switch (getopt_ret) {
case 'h': { case 'h': {
cout << PROG_NAME " - " PROG_DESC "\n\n" cout << PROG_NAME " - " PROG_DESC "\n\n"
"Usage: " PROG_NAME " [OPTIONS] --db DATABASE [BASEDIR] DIRECTORY\n" "Usage: " PROG_NAME " [OPTIONS] --db DATABASE [BASEDIR] DIRECTORY\n"
"\n" "\n"
"DIRECTORY is the directory to start indexing from.\n" "DIRECTORY is the directory to start indexing from.\n"
"\n" "\n"
"BASEDIR is the directory corresponding to URL (default: DIRECTORY).\n" "BASEDIR is the directory corresponding to URL (default: DIRECTORY).\n"
"\n" "\n"
skipping to change at line 466 skipping to change at line 466
" E.g. -Fapplication/octet-stream:'strings -n8'\n" " E.g. -Fapplication/octet-stream:'strings -n8'\n"
" or -Ftext/x-foo,,utf-16:'foo2utf16 %f %t'\n" " or -Ftext/x-foo,,utf-16:'foo2utf16 %f %t'\n"
" --read-filters=FILE bulk-load --filter arguments from FILE, which\n" " --read-filters=FILE bulk-load --filter arguments from FILE, which\n"
" should contain one such argument per line (e.g.\n" " should contain one such argument per line (e.g.\n"
" text/x-bar:bar2txt --utf8). Lines starting with #\ n" " text/x-bar:bar2txt --utf8). Lines starting with #\ n"
" are treated as comments and ignored.\n" " are treated as comments and ignored.\n"
" -l, --depth-limit=LIMIT set recursion limit (0 = unlimited)\n" " -l, --depth-limit=LIMIT set recursion limit (0 = unlimited)\n"
" -f, --follow follow symbolic links\n" " -f, --follow follow symbolic links\n"
" -i, --ignore-exclusions ignore meta robots tags and similar exclusions\n" " -i, --ignore-exclusions ignore meta robots tags and similar exclusions\n"
" -S, --spelling index data for spelling correction\n" " -S, --spelling index data for spelling correction\n"
" -m, --max-size maximum size of file to index (in bytes or with a\n " " -m, --max-size=N[SUFFIX] maximum size of file to index (in bytes or with a\n "
" suffix of 'K'/'k', 'M'/'m', 'G'/'g')\n" " suffix of 'K'/'k', 'M'/'m', 'G'/'g')\n"
" (default: unlimited)\n" " (default: unlimited)\n"
" --sample=SOURCE what to use for the stored sample of text for\n" " --sample=SOURCE what to use for the stored sample of text for\n"
" HTML documents - SOURCE can be 'body' or\n" " HTML documents - SOURCE can be 'body' or\n"
" 'description' (default: 'body')\n" " 'description' (default: 'body')\n"
" -E, --sample-size=SIZE maximum size for the document text sample\n" " -E, --sample-size=SIZE maximum size for the document text sample\n"
" (supports the same formats as --max-size).\n" " (supports the same formats as --max-size).\n"
" (default: " STRINGIZE(SAMPLE_SIZE) ")\n" " (default: " STRINGIZE(SAMPLE_SIZE) ")\n"
" -T, --title-size=SIZE maximum size for the document title\n" " -T, --title-size=SIZE maximum size for the document title\n"
" (supports the same formats as --max-size).\n" " (supports the same formats as --max-size).\n"
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)