summaryrefslogtreecommitdiff
path: root/docs/source/man/lesana-search.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/man/lesana-search.rst')
-rw-r--r--docs/source/man/lesana-search.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/source/man/lesana-search.rst b/docs/source/man/lesana-search.rst
index 0f2861c..fff4b8e 100644
--- a/docs/source/man/lesana-search.rst
+++ b/docs/source/man/lesana-search.rst
@@ -7,7 +7,7 @@ SYNOPSIS
lesana search [--help] [--collection COLLECTION] [--template TEMPLATE] \
[--offset OFFSET] [--pagesize PAGESIZE] [--all] \
- [--sort FIELD1 [--sort FIELD2 ...]] query [query ...]
+ [--sort FIELD1 [--sort FIELD2 ...]] [query [query ...]]
DESCRIPTION
===========
@@ -25,6 +25,11 @@ By default entries are printed according to the ``entry_label`` from the
``settings.yaml`` file, but they can be rendered according to a jinja2
template.
+If no query is specified, it will default to ``'*'``, i.e. search all
+entries: thus ``lesana search --all`` will print all entries, while just
+``lesana search`` will print the first 12 entries, possibly according to
+the relevant sorting options.
+
OPTIONS
=======