]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei-ls-search.pod
a56611bf91a980c36f114c5c8ca742e267978807
[public-inbox.git] / Documentation / lei-ls-search.pod
1 =head1 NAME
2
3 lei-ls-search - list saved search queries
4
5 =head1 SYNOPSIS
6
7 lei ls-search [OPTIONS] [PREFIX]
8
9 =head1 DESCRIPTION
10
11 List saved search queries.  If C<PREFIX> is given, restrict the output
12 to entries that start with the specified value.
13
14 =head1 OPTIONS
15
16 =over
17
18 =item -f FORMAT
19
20 =item --format=FORMAT
21
22 Display JSON output rather than default short output that includes
23 only the saved search location.  Possible values are C<json>,
24 C<jsonl>, or C<concatjson>.
25
26 =item --pretty
27
28 Pretty print C<json> or C<concatjson> output.  If stdout is opened to
29 a tty and used as the C<--output> destination, C<--pretty> is enabled
30 by default.
31
32 =item -l
33
34 Long listing format (shortcut for C<--format=json>).
35
36 =item --ascii
37
38 Escape non-ASCII characters.
39
40 =item -z
41
42 =item -0
43
44 Use C<\0> (NUL) instead of newline (CR) to delimit lines.  This option
45 is incompatible with C<--format>.
46
47 =back
48
49 =head1 CONTACT
50
51 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
52
53 The mail archives are hosted at L<https://public-inbox.org/meta/>
54 and L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
55
56 =head1 COPYRIGHT
57
58 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
59
60 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
61
62 =head1 SEE ALSO
63
64 L<lei-q(1)>, L<lei-up(1)>, L<lei-edit-search(1)>,
65 L<lei-forget-search(1)>