docbook2X/Add-db2x_xsltproc-h-and-v-options.patch
cherry530 e68a03f4f8 Add db2x_xsltproc -h and -v options.
Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit a3f45c12a13e4e61fb0498016beb468a685063ef)
2023-02-13 15:48:16 +08:00

16 lines
452 B
Diff

diff --git a/perl/db2x_xsltproc.pl b/perl/db2x_xsltproc.pl
index 34fa2a1..065a1d4 100755
--- a/perl/db2x_xsltproc.pl
+++ b/perl/db2x_xsltproc.pl
@@ -96,8 +96,8 @@ if(!GetOptions($options,
'profile|P',
'xslt-processor|X=s',
- 'help', \&options_help,
- 'version', \&options_version))
+ 'help|h', \&options_help,
+ 'version|v', \&options_version))
{
print STDERR "Try \"$0 --help\" for more information.\n";
exit 1;