From a61e707828228c11860c6573ca992ad55a379c0a Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 19 Jul 2021 12:25:07 +0000 Subject: docs: update FossilOrigin-Name: 5a09d7034d312982d515f96307837351ec067084fafd7973e29384dc8b44baf1 --- docs/cpt.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs/cpt.txt') diff --git a/docs/cpt.txt b/docs/cpt.txt index 78b0e6e..4e680b5 100644 --- a/docs/cpt.txt +++ b/docs/cpt.txt @@ -1282,13 +1282,17 @@ development manual for *Carbs Packaging Tools*. For development logs see This function is used to query the [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 `meta' file or the file does - not contain the requested key, the function will return with 1. + 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 `meta' file or the file does not contain the + requested key, the function will return with 1. ,---- | $ pkg_query_meta cpt description | Carbs Packaging Tools + | + | $ pkg_query_meta /path/to/cpt license + | MIT `---- -- cgit v1.2.3