util/find-doc-nits: ignore tsget.pod name
[openssl.git] / util / find-doc-nits
index c1e33fcfe455a0eae08660d1c45a601db856141d..eac87dedd0cb561c564e7a56dbf7a5adaf508d09 100755 (executable)
@@ -809,6 +809,7 @@ sub checkflags {
     }
     if ( scalar @undocced > 0 ) {
         foreach ( @undocced ) {
+            next if /-/; # Skip the -- end-of-flags marker
             err("$doc: undocumented option -$_");
         }
     }
@@ -883,7 +884,7 @@ if ( $opt_n ) {
     # If not given args, check that all man1 commands are named properly.
     if ( scalar @ARGV == 0 ) {
         foreach (glob('doc/man1/*.pod')) {
-            next if /CA.pl/ || /openssl.pod/;
+            next if /CA.pl/ || /openssl\.pod/ || /tsget\.pod/;
             err("$_ doesn't start with openssl-") unless /openssl-/;
         }
     }