develooper Front page | perl.perl5.porters | Postings from April 2013

[perl #117647] [PATCH] Update h2ph POD

From:
Petr Pisar
Date:
April 17, 2013 12:31
Subject:
[perl #117647] [PATCH] Update h2ph POD
Message ID:
rt-3.6.HEAD-28177-1366201884-1581.117647-75-0@perl.org
# New Ticket Created by  Petr Pisar 
# Please include the string:  [perl #117647]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117647 >


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..0b54a8a 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 immediatelly.
+
 =item -D
 
 Include the code from the B<.h> file as a comment in the B<.ph> file.
-- 
1.8.1.4




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About