perl/perl-5.19.0-Synchronize-h2ph-POD-text-with-usage-output.patch
2013-06-12 12:35:16 +02:00

39 lines
1.1 KiB
Diff

From fe89bf70817551c30bcacaef25578ffeb7d71eb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Sun, 9 Jun 2013 14:01:49 -0400
Subject: [PATCH] Synchronize h2ph POD text with usage output
---
utils/h2ph.PL | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/utils/h2ph.PL b/utils/h2ph.PL
index a2d737b..9a8b14d 100644
--- a/utils/h2ph.PL
+++ b/utils/h2ph.PL
@@ -866,7 +866,8 @@ h2ph - convert .h C header files to .ph Perl header files
=head1 SYNOPSIS
-B<h2ph [-d destination directory] [-r | -a] [-l] [headerfiles]>
+B<h2ph [-d destination directory] [-r | -a] [-l] [-h] [-e] [-D] [-Q]
+[headerfiles]>
=head1 DESCRIPTION
@@ -932,6 +933,11 @@ you will see the slightly more helpful
However, the B<.ph> files almost double in size when built using B<-h>.
+=item -e
+
+If an error is encountered during conversion, output file will be removed and
+a warning emitted instead of terminating the conversion immediately.
+
=item -D
Include the code from the B<.h> file as a comment in the B<.ph> file.
--
1.8.1.4