From: Hilko Bengen Date: Wed, 30 Mar 2011 18:39:49 +0000 (+0200) Subject: Some editors may not recognize POD blocks without blank lines separating them from... X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=commitdiff_plain;h=2038009de5c47bb0e2e369b42a04024e498bcf71 Some editors may not recognize POD blocks without blank lines separating them from the code. --- 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),