From fea348c7b4cf3b39510b6707320c2afce2ca7835 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 25 Mar 2021 20:00:42 +0100 Subject: Use "*" as the default search query. --- docs/source/man/lesana-search.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs/source/man') 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 ======= -- cgit v1.2.3