Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2024-01-05 19:23:52 +0100
committerLevente Polyak <anthraxx@archlinux.org>2024-01-07 02:38:42 +0100
commitd0dc0e1a32d6ed9b166eca777f7fb7071c4c2df1 (patch)
tree02f06b909f89166532bbfac91a545b31bd219048 /doc
parent0e538cf4983f27548077c0a2a272ecd8deebacb1 (diff)
feat(search): add optional plain output formatting
This allows to run the search command without bats, which is not used in the default pretty output format. Component: pkgctl search Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/pkgctl-search.1.asciidoc23
1 files changed, 18 insertions, 5 deletions
diff --git a/doc/man/pkgctl-search.1.asciidoc b/doc/man/pkgctl-search.1.asciidoc
index fb79b88..8172b00 100644
--- a/doc/man/pkgctl-search.1.asciidoc
+++ b/doc/man/pkgctl-search.1.asciidoc
@@ -20,7 +20,7 @@ use glob matching.
Available filters for the blobs scope: path, extension
Every usage of the search command must be authenticated. Consult the
-'pkgctl auth' command to authenticate with GitLab or view the authentication
+`'pkgctl auth'` command to authenticate with GitLab or view the authentication
status.
Search Tips
@@ -41,14 +41,27 @@ Search Tips
Options
-------
-*--json*::
- Enable printing results in JSON
+*-h, --help*::
+ Show a help text
+
+Filter Options
+--------------
*--no-default-filter*::
Do not apply default filter (like -path:keys/pgp/*.asc)
-*-h, --help*::
- Show a help text
+Output Options
+--------------
+
+*--json*::
+ Enable printing in JSON; Shorthand for `'--format json'`
+
+*-F, --format* 'FORMAT'::
+ Controls the formatting of the results; `FORMAT` is `'pretty'`, `'plain'`,
+ or `'json'` (default `pretty`)
+
+*-N, --no-line-number*::
+ Don't show line numbers when formatting results
See Also
--------