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