pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] libgnupdf/prmgt check-api-doc-consistency.pl


From: Gerardo E. Gidoni
Subject: [pdf-devel] libgnupdf/prmgt check-api-doc-consistency.pl
Date: Fri, 11 Jul 2008 15:52:59 +0000

CVSROOT:        /sources/pdf
Module name:    libgnupdf
Changes by:     Gerardo E. Gidoni <gerel>       08/07/11 15:52:59

Modified files:
        prmgt          : check-api-doc-consistency.pl 

Log message:
        trivial changes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libgnupdf/prmgt/check-api-doc-consistency.pl?cvsroot=pdf&r1=1.3&r2=1.4

Patches:
Index: check-api-doc-consistency.pl
===================================================================
RCS file: /sources/pdf/libgnupdf/prmgt/check-api-doc-consistency.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- check-api-doc-consistency.pl        11 Jul 2008 15:41:26 -0000      1.3
+++ check-api-doc-consistency.pl        11 Jul 2008 15:52:59 -0000      1.4
@@ -211,17 +211,16 @@
 $showok = 1;
 $plainmode = 0;
 $ignorevars = 0;
-if (@ARGV == 1){
-    if ($ARGV[0] eq '-h'){
+if (grep ($_ eq '-h', @ARGV)){
         show_help ();
         exit(0);
-    }elsif ($ARGV[0] eq '-f'){
+}
+if (grep ($_ eq '-f', @ARGV)){
         $showok = 0;
-    }elsif ($ARGV[0] eq '-p') {
+}
+if (grep ($_ eq '-p', @ARGV)) {
         $plainmode = 1;
-    }
 }
-
 if (grep ($_ eq '-i', @ARGV)) {
     $ignorevars = 1;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]