recollq: missing newline and punctuation in usage string
This commit is contained in:
parent
82519e6276
commit
aa4e335893
@ -93,42 +93,42 @@ void output_fields(vector<string> 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] <query string>\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 <configdir> : specify config directory, overriding $RECOLL_CONFDIR\n"
|
||||
" -d also dump file contents\n"
|
||||
" -c <configdir> : specify config directory, overriding $RECOLL_CONFDIR.\n"
|
||||
" -d also dump file contents.\n"
|
||||
" -n [first-]<cnt> 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 <fld>\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 <synonyms file>: use the parameter (Thesaurus) for word expansion"
|
||||
" -i <dbdir> : 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 <fld>.\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 <synonyms file>: use the parameter (Thesaurus) for word expansion.\n"
|
||||
" -i <dbdir> : additional index, several can be given.\n"
|
||||
" -e use url encoding (%xx) for urls.\n"
|
||||
" -F <field name list> : 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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user