Fixed output of version and help screens
Change-Id: I6e69b8ef83135f25cb0830d0fa212d84623f8a6d
diff --git a/script/korapxml2krill b/script/korapxml2krill
index e668f07..250c68d 100644
--- a/script/korapxml2krill
+++ b/script/korapxml2krill
@@ -105,12 +105,14 @@
-sections => 'NAME|SYNOPSIS|ARGUMENTS|OPTIONS',
-verbose => 99,
-msg => $VERSION_MSG,
+ -output => '-'
);
},
'version|v' => sub {
pod2usage(
-verbose => 0,
- -msg => $VERSION_MSG
+ -msg => $VERSION_MSG,
+ -output => '-'
)
}
);
@@ -119,6 +121,7 @@
-sections => 'NAME|SYNOPSIS|ARGUMENTS|OPTIONS',
-verbose => 99,
-msg => $VERSION_MSG,
+ -output => '-',
-exit => 1
);