summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2024-04-25 23:13:22 +0000
committerNorbert Preining <preining@logic.at>2024-04-25 23:13:22 +0000
commit7a08e04f0381160f8fe2c85ace3d446fa22bd611 (patch)
tree28d3bd30ab5b17336db486d3db11f7399efcb44e /Master/tlpkg
parent21e18d36de3e3cd214e9c124070b6aab288a645f (diff)
tlmgr search --json: document json format in json-formats.txt
git-svn-id: svn://tug.org/texlive/trunk@71081 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/doc/json-formats.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/tlpkg/doc/json-formats.txt b/Master/tlpkg/doc/json-formats.txt
index b0bca6a7364..0f53d862a0c 100644
--- a/Master/tlpkg/doc/json-formats.txt
+++ b/Master/tlpkg/doc/json-formats.txt
@@ -156,3 +156,17 @@ Example TLSETTING:
TLSEARCH
--------
+A hash with two keys, "packages" and "files".
+Value for "packages" is a hash with <pkg> -> <shortdescription>.
+Value for "files" is a hash with <pkg> -> array of matching files
+{
+ "packages": {
+ "<PKG1>": "<SHORTDESC1>",
+ ...
+ },
+ "files": {
+ "<PKG1>": [ "<FILE1>", ... ],
+ ...
+ }
+}
+