From 4bad691465af048b36e9ba47688435ae3b9fe708 Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 19 Jul 2021 12:22:08 +0000 Subject: docs: update FossilOrigin-Name: 6bd01ef3991f7e5d9d2aa908452b457edcab8b3a0967864cbb5b26126104e6e2 --- docs/cpt.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/cpt.org b/docs/cpt.org index aa7c2cc..1e551fe 100644 --- a/docs/cpt.org +++ b/docs/cpt.org @@ -1215,14 +1215,17 @@ rsync curl zlib ca-certificates bearssl This function is used to query the [[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 =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 =meta= file or the file does not contain the +requested key, the function will return with 1. #+begin_src sh $ pkg_query_meta cpt description Carbs Packaging Tools + +$ pkg_query_meta /path/to/cpt license +MIT #+end_src * {{{index(Concept, cp)}}} -- cgit v1.2.3