man-page xref: make nested-structure warnings fatal

Followup to:
  - #21060, where I added new struct checks (but did not make them fatal)

  - #21534, which added per-interface stats and a .Network field,
    but its documentation was slightly off

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago
2024-02-15 13:20:32 -07:00
parent 1141946e67
commit c7537d1939
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ Valid placeholders for the Go template are listed below:
| .MemUsageBytes | Memory usage (IEC) | | .MemUsageBytes | Memory usage (IEC) |
| .Name | Container Name | | .Name | Container Name |
| .NetIO | Network IO | | .NetIO | Network IO |
| .Network | Network I/O, separated by network interface | | .Network ... | Network I/O, separated by network interface |
| .PerCPU | CPU time consumed by all tasks [1] | | .PerCPU | CPU time consumed by all tasks [1] |
| .PIDs | Number of PIDs | | .PIDs | Number of PIDs |
| .PIDS | Number of PIDs (yes, we know this is a dup) | | .PIDS | Number of PIDs (yes, we know this is a dup) |

View File

@ -256,6 +256,7 @@ sub xref_by_help {
} }
warn "$ME: 'podman @subcommand {{$k' $msg\n"; warn "$ME: 'podman @subcommand {{$k' $msg\n";
++$Errs;
} }
} }
} }