Skip to contentSkip to conversation

man-pages: Fix incorrect command line argument in documentation

PATCH Applied Gal Pressman 2 participants 2 messages Apr 9 – Apr 13

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man-pages: Fix incorrect command line argument in documentation

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")
---
 man-pages/pahole.1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man-pages/pahole.1 +2 -2
index 90a8f4566de6..19067f4fef03 100644
@@ -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
Signature · 1 line
2.52.0
Applied
#1 lore raw
Quoted 19 lines · Gal Pressman

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")
---
 man-pages/pahole.1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man-pages/pahole.1 +0 -0
index 90a8f4566de6..19067f4fef03 100644
@@ -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

man-pages/pahole.1 Show only structs that has holes that can be packed if members are reorganized, · line 414

Quoted 10 lines
man-pages/pahole.1 +2 -2
-.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