From aa4e335893e2a597c4b1d2a473c589d76d2180b0 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 16 Apr 2019 10:22:11 +0200 Subject: [PATCH] recollq: missing newline and punctuation in usage string --- src/query/recollq.cpp | 44 +++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/query/recollq.cpp b/src/query/recollq.cpp index 999a1b66..f38e814a 100644 --- a/src/query/recollq.cpp +++ b/src/query/recollq.cpp @@ -93,42 +93,42 @@ void output_fields(vector fields, Rcl::Doc& doc, static char *thisprog; static char usage [] = -" -P: Show the date span for all the documents present in the index\n" +" -P: Show the date span for all the documents present in the index.\n" " [-o|-a|-f] [-q] \n" " Runs a recoll query and displays result lines. \n" -" Default: will interpret the argument(s) as a xesam query string\n" +" Default: will interpret the argument(s) as a xesam query string.\n" " Query elements: \n" " * Implicit AND, exclusion, field spec: t1 -t2 title:t3\n" " * OR has priority: t1 OR t2 t3 OR t4 means (t1 OR t2) AND (t3 OR t4)\n" " * Phrase: \"t1 t2\" (needs additional quoting on cmd line)\n" -" -o Emulate the GUI simple search in ANY TERM mode\n" -" -a Emulate the GUI simple search in ALL TERMS mode\n" -" -f Emulate the GUI simple search in filename mode\n" -" -q is just ignored (compatibility with the recoll GUI command line)\n" +" -o Emulate the GUI simple search in ANY TERM mode.\n" +" -a Emulate the GUI simple search in ALL TERMS mode.\n" +" -f Emulate the GUI simple search in filename mode.\n" +" -q is just ignored (compatibility with the recoll GUI command line).\n" "Common options:\n" -" -c : specify config directory, overriding $RECOLL_CONFDIR\n" -" -d also dump file contents\n" +" -c : specify config directory, overriding $RECOLL_CONFDIR.\n" +" -d also dump file contents.\n" " -n [first-] define the result slice. The default value for [first]\n" " is 0. Without the option, the default max count is 2000.\n" -" Use n=0 for no limit\n" -" -b : basic. Just output urls, no mime types or titles\n" -" -Q : no result lines, just the processed query and result count\n" -" -m : dump the whole document meta[] array for each result\n" -" -A : output the document abstracts\n" -" -S fld : sort by field \n" -" -D : sort descending\n" -" -s stemlang : set stemming language to use (must exist in index...)\n" -" Use -s \"\" to turn off stem expansion\n" -" -T : use the parameter (Thesaurus) for word expansion" -" -i : additional index, several can be given\n" -" -e use url encoding (%xx) for urls\n" +" Use n=0 for no limit.\n" +" -b : basic. Just output urls, no mime types or titles.\n" +" -Q : no result lines, just the processed query and result count.\n" +" -m : dump the whole document meta[] array for each result.\n" +" -A : output the document abstracts.\n" +" -S fld : sort by field .\n" +" -D : sort descending.\n" +" -s stemlang : set stemming language to use (must exist in index...).\n" +" Use -s \"\" to turn off stem expansion.\n" +" -T : use the parameter (Thesaurus) for word expansion.\n" +" -i : additional index, several can be given.\n" +" -e use url encoding (%xx) for urls.\n" " -F : output exactly these fields for each result.\n" " The field values are encoded in base64, output in one line and \n" " separated by one space character. This is the recommended format \n" " for use by other programs. Use a normal query with option -m to \n" " see the field names. Use -F '' to output all fields, but you probably\n" -" also want option -N in this case\n" -" -N : with -F, print the (plain text) field names before the field values\n" +" also want option -N in this case.\n" +" -N : with -F, print the (plain text) field names before the field values.\n" ; static void Usage(void)