aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/cpt.org3
-rw-r--r--docs/cpt.texi5
-rw-r--r--docs/cpt.txt2
3 files changed, 10 insertions, 0 deletions
diff --git a/docs/cpt.org b/docs/cpt.org
index fc5fc8e..3896909 100644
--- a/docs/cpt.org
+++ b/docs/cpt.org
@@ -859,6 +859,9 @@ This section lists some of the variables defined by the package manager that can
be used in scripts. These variables usually cannot be defined by the user, so
they are not part of the [[* Environment Variables][variables]] section above.
+#+VINDEX: cpt_version
+- =$cpt_version= ::
+ Package manager version.
#+VINDEX: cpt_confdir
- =$cpt_confdir= ::
Location of the CPT system configuration directory. This is usually either
diff --git a/docs/cpt.texi b/docs/cpt.texi
index eee64d2..5c792a9 100644
--- a/docs/cpt.texi
+++ b/docs/cpt.texi
@@ -1039,6 +1039,11 @@ This section lists some of the variables defined by the package manager that can
be used in scripts. These variables usually cannot be defined by the user, so
they are not part of the @ref{Environment Variables, , variables} section above.
+@vindex cpt_version
+@table @asis
+@item @samp{$cpt_version}
+Package manager version.
+@end table
@vindex cpt_confdir
@table @asis
@item @samp{$cpt_confdir}
diff --git a/docs/cpt.txt b/docs/cpt.txt
index 566c388..c89f02a 100644
--- a/docs/cpt.txt
+++ b/docs/cpt.txt
@@ -923,6 +923,8 @@ development logs see [the fossil repository].
defined by the user, so they are not part of the [variables] section
above.
+ `$cpt_version'
+ Package manager version.
`$cpt_confdir'
Location of the CPT system configuration directory. This is
usually either `/etc/cpt' or `PREFIX/etc/cpt'.