aboutsummaryrefslogtreecommitdiff
path: root/docs/cpt.texi
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-07-19 12:25:07 +0000
committermerakor <cem@ckyln.com>2021-07-19 12:25:07 +0000
commita61e707828228c11860c6573ca992ad55a379c0a (patch)
tree10f3f07b41527885567c72cfd4a8690dc86e627e /docs/cpt.texi
parent42d6268a40a6fe553c4291f3772ad94ccba6339e (diff)
downloadcpt-a61e707828228c11860c6573ca992ad55a379c0a.tar.gz
docs: update
FossilOrigin-Name: 5a09d7034d312982d515f96307837351ec067084fafd7973e29384dc8b44baf1
Diffstat (limited to 'docs/cpt.texi')
-rw-r--r--docs/cpt.texi11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/cpt.texi b/docs/cpt.texi
index 8b7bb77..b16fea7 100644
--- a/docs/cpt.texi
+++ b/docs/cpt.texi
@@ -1377,14 +1377,17 @@ rsync curl zlib ca-certificates bearssl
This function is used to query the @ref{meta, , meta file} inside package directories. It can
be used to retrieve information on a package that is otherwise irrelevant to the
-package manager itself. It takes two arguments, first being the package and the
-second being the key to be retrieved. If the package does not have a @samp{meta}
-file or the file does not contain the requested key, the function will return
-with 1.
+package manager itself. It takes two arguments, first being the package (or the
+full path to a package directory) and the second being the key to be retrieved.
+If the package does not have a @samp{meta} file or the file does not contain the
+requested key, the function will return with 1.
@example
$ pkg_query_meta cpt description
Carbs Packaging Tools
+
+$ pkg_query_meta /path/to/cpt license
+MIT
@end example
@node Concept Index