11 Jul
2019
11 Jul
'19
4:01 p.m.
Adjust the prefix check accordingly, so non-tool documentations do not need --warning explicitly. --- podwrapper.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podwrapper.pl.in b/podwrapper.pl.in index 2b276c4..f8b90ad 100755 --- a/podwrapper.pl.in +++ b/podwrapper.pl.in @@ -244,7 +244,7 @@ $name = basename ($input, ".pod") unless defined $name; $section = 1 unless defined $section; # Is it a user command line tool? -my $cli_tool = $section == 1 && $name !~ /^guestfs-/; +my $cli_tool = $section == 1 && $name !~ /^p2v-/; # Warning parameter is mandatory for user tools in section 1. if ($strict_checks && $cli_tool) { -- 2.21.0