summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Conf.pm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-15 23:12:43 +0200
committerGuillem Jover <guillem@debian.org>2016-10-30 04:43:34 +0100
commit29df37ac73cc130e53bfc4278db9ea912d488ca9 (patch)
tree3624a994af12d481b0140e1fd8f7fc795f0d40f6 /scripts/Dpkg/Conf.pm
parent26e44471eb8d53b7a468d5cf3eeb72a875246d8b (diff)
downloaddpkg-29df37ac73cc130e53bfc4278db9ea912d488ca9.tar.gz
Dpkg: Document the behavior for consecutive calls to parse() methods
Prompted-by: Johannes Schauer <josch@debian.org>
Diffstat (limited to 'scripts/Dpkg/Conf.pm')
-rw-r--r--scripts/Dpkg/Conf.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Dpkg/Conf.pm b/scripts/Dpkg/Conf.pm
index 111114c8b..de0513f11 100644
--- a/scripts/Dpkg/Conf.pm
+++ b/scripts/Dpkg/Conf.pm
@@ -157,7 +157,10 @@ sub load_config {
=item $conf->parse($fh)
-Parse options from a file handle. Return the number of options parsed.
+Parse options from a file handle. When called multiple times, the parsed
+options are accumulated.
+
+Return the number of options parsed.
=cut