Skip to content

Commit

Permalink
man-page xref: make nested-structure warnings fatal
Browse files Browse the repository at this point in the history
Followup to:
  - containers#21060, where I added new struct checks (but did not make them fatal)

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

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Feb 15, 2024
1 parent 1141946 commit c7537d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/markdown/podman-stats.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Valid placeholders for the Go template are listed below:
| .MemUsageBytes | Memory usage (IEC) |
| .Name | Container Name |
| .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] |
| .PIDs | Number of PIDs |
| .PIDS | Number of PIDs (yes, we know this is a dup) |
Expand Down
1 change: 1 addition & 0 deletions hack/xref-helpmsgs-manpages
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ sub xref_by_help {
}

warn "$ME: 'podman @subcommand {{$k' $msg\n";
++$Errs;
}
}
}
Expand Down

0 comments on commit c7537d1

Please sign in to comment.