summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/PROGRAMMING4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index ca76b9c9..b6d3d16e 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -235,7 +235,9 @@ getpackages($type)
Returns a list of packages in the control file.
Pass "arch" or "indep" to specify arch-dependent or
-independent. If nothing is specified, returns all
- packages.
+ packages (including packages that are not built
+ for this architecture). Pass "both" to get the union
+ of "arch" and "indep" packages.
As a side effect, populates %package_arches and %package_types with
the types of all packages (not only those returned).
inhibit_log()