diff options
Diffstat (limited to 'Rpmdrake/formatting.pm')
-rw-r--r-- | Rpmdrake/formatting.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm index 07ad40fc..b3e7eb5b 100644 --- a/Rpmdrake/formatting.pm +++ b/Rpmdrake/formatting.pm @@ -40,7 +40,7 @@ our @EXPORT = qw( format_changelog_string format_field format_header - formatlistpkg + format_list format_name_n_summary format_size format_update_field @@ -165,6 +165,6 @@ sub format_size { N("%s of disk space will be freed.", formatXiB(-$size)); } -sub formatlistpkg { join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_) } +sub format_list { join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_) } 1; |