summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Conf.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Dpkg/Conf.pm')
-rw-r--r--scripts/Dpkg/Conf.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/Dpkg/Conf.pm b/scripts/Dpkg/Conf.pm
index ca98cd3a7..5b98bbd8e 100644
--- a/scripts/Dpkg/Conf.pm
+++ b/scripts/Dpkg/Conf.pm
@@ -221,7 +221,7 @@ sub filter {
@{$self->{options}};
}
-=item $string = $conf->output($fh)
+=item $string = $conf->output([$fh])
Write the options in the given filehandle (if defined) and return a string
representation of the content (that would be) written.
@@ -230,10 +230,6 @@ representation of the content (that would be) written.
Return a string representation of the content.
-=item $conf->save($file)
-
-Save the options in a file.
-
=cut
sub output {
@@ -249,6 +245,10 @@ sub output {
return $ret;
}
+=item $conf->save($file)
+
+Save the options in a file.
+
=back
=head1 CHANGES