summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Build/Types.pm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-07-23 11:58:23 +0200
committerGuillem Jover <guillem@debian.org>2018-07-24 14:51:52 +0200
commitca394f0f03e9ab025a09e4c99ad4ccfc73550f46 (patch)
tree52fef8569d3a0c46f51509e2627408a7d10b8241 /scripts/Dpkg/Build/Types.pm
parent503ab33b937ced36c154952c026c0f608ae1180e (diff)
downloaddpkg-ca394f0f03e9ab025a09e4c99ad4ccfc73550f46.tar.gz
Dpkg::Build::Types: Fix set_build_type_from_options() description
Diffstat (limited to 'scripts/Dpkg/Build/Types.pm')
-rw-r--r--scripts/Dpkg/Build/Types.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/Dpkg/Build/Types.pm b/scripts/Dpkg/Build/Types.pm
index 45a81d3ba..b6c2366f3 100644
--- a/scripts/Dpkg/Build/Types.pm
+++ b/scripts/Dpkg/Build/Types.pm
@@ -193,9 +193,10 @@ sub set_build_type
$current_option = $build_option;
}
-=item set_build_type_from_options($build_type, $build_option, %opts)
+=item set_build_type_from_options($build_types, $build_option, %opts)
-Set the current build type from a list of build type components.
+Set the current build type from a list of comma-separated build type
+components.
The function will check and abort on incompatible build type assignments,
this behavior can be disabled by using the boolean option "nocheck".