diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-03-25 20:00:42 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-03-25 20:00:50 +0100 |
commit | fea348c7b4cf3b39510b6707320c2afce2ca7835 (patch) | |
tree | c6fb2b5185f90dfcd01612a531e4c3bc243cb137 /docs | |
parent | b1eb9ffd97827b46cdd904763796758c2e091834 (diff) |
Use "*" as the default search query.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/man/lesana-search.rst | 7 |
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 ======= |