diff options
Diffstat (limited to 'docs/getting_started_command_line.rst')
-rw-r--r-- | docs/getting_started_command_line.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/getting_started_command_line.rst b/docs/getting_started_command_line.rst index 2c79701..c5dc007 100644 --- a/docs/getting_started_command_line.rst +++ b/docs/getting_started_command_line.rst @@ -47,3 +47,15 @@ open them with ``lesana edit``. If you're using git, don't forget to add and commit the entries you've added (i.e. the files under ``items``). + +Search results are limited by default to 12 matches; to get all results +for your query you can use the option ``--all``. This is especially +useful when passing the results to a template:: + + lesana search --template templates/my_report.html --all \ + some search terms \ + > some_search_terms-report.html + +will generate an html file based on the jinja2 template +``templates/my_report.html`` with all the entries found for those search +terms. |