From 2038009de5c47bb0e2e369b42a04024e498bcf71 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Wed, 30 Mar 2011 20:39:49 +0200 Subject: [PATCH] Some editors may not recognize POD blocks without blank lines separating them from the code. --- bin/wanna-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/wanna-build b/bin/wanna-build index 17f69b1..5a32603 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -2007,7 +2007,9 @@ sub print_format { my $printfmt = shift; my $pkg = shift; my $var = shift; + =pod + Within an format string, the following values are allowed (need to be preceded by %). This can be combined to e.g. wanna-build --format='wanna-build -A %a --give-back %p_%v' -A mipsel --list=failed @@ -2041,6 +2043,7 @@ X the string normally between [], e.g. optional:out-of-date:calprio{61}:days{25} Text could contain further %. To start with !, use %! =cut + return stringf($printfmt, ( 'p' => make_fmt( $pkg->{'package'}, $pkg, $var), 'a' => make_fmt( $arch, $pkg, $var), -- 2.39.2