Also mention -- flag and ignore if undocumented
[openssl.git] / util / find-doc-nits
index c1e33fcfe455a0eae08660d1c45a601db856141d..ea5254b729a1349cac51f70901e5867be8962777 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 -$_");
         }
     }