--- a/src/query/recollq.cpp
+++ b/src/query/recollq.cpp
@@ -79,26 +79,27 @@
static char *thisprog;
static char usage [] =
-" -P: Show date span for documents in index\n"
-" [-o|-a|-f] <query string>\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"
" query may be like: \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"
+" -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"
" -n <cnt> limit the maximum number of results (0->no limit, default 2000)\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\n"
+" -m : dump the whole document meta[] array for each result\n"
" -A : output the document abstracts\n"
-" -S fld : sort by field name\n"
+" -S fld : sort by field <fld>\n"
" -D : sort descending\n"
" -i <dbdir> : additional index, several can be given\n"
" -e use url encoding (%xx) for urls\n"