Re: [PATCH dwarves] man-pages: Fix incorrect command line argument in documentation

Alan Maguire <[email protected]> Mon, 13 Apr 2026 09:17:16 +0100
Newsgroups org.kernel.vger.dwarves
Message-ID <[email protected]>
On 09/04/2026 15:47, Gal Pressman wrote:
> The --with_flexible_array and --with_embedded_flexible_array arguments
> were wrongly documented with the short argument '-P' (copy-paste mistake
> from previous argument), remove it.
> 
> Fixes: 7eea706c1499 ("pahole: Introduce --with_flexible_array option to show just types ending in a flexible array")
> Fixes: 446c28d118b9 ("pahole: Introduce --with_embedded_flexible_array")
> Signed-off-by: Gal Pressman <[email protected]>
> ---
>  man-pages/pahole.1 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man-pages/pahole.1 b/man-pages/pahole.1
> index 90a8f4566de6..19067f4fef03 100644
> --- a/man-pages/pahole.1
> +++ b/man-pages/pahole.1
> @@ -404,11 +404,11 @@ Show only structs that has holes that can be packed if members are reorganized,
>  for instance when using the \fB\-\-reorganize\fR option.
>  
>  .TP
> -.B \-P, \-\-with_flexible_array
> +.B     \-\-with_flexible_array
>  Show only structs that have a flexible array.
>  
>  .TP
> -.B \-P, \-\-with_embedded_flexible_array
> +.B     \-\-with_embedded_flexible_array
>  Show only structs that have an embedded flexible array, i.e. a contained struct that has flexible arrays, a flexible array "in the middle".
>  
>  .TP

applied, thanks!

Alan