Let mancheck_utils ignore version subcommands
[openafs.git] / tests / tests-lib / perl5 / mancheck_utils.pm
index 6b56274..edfa8fc 100644 (file)
@@ -35,6 +35,8 @@ sub lookup_sub_commands {
     while (<HELPOUT>) {
         # Skip the header thingy
         next if /Commands are/;
+        # Skip the version subcommand, it's always present but not interesting
+        next if /^version/;
         @comm = split();
         push(@subcommlist, $comm[0]);
     }