Files
erofs-linux/tools/mm
Kaushlendra Kumar 8b8017d7c4 tools/mm/slabinfo: fix --partial long option mapping
The long option "--partial" was incorrectly mapped to lowercase 'p' in the
opts[] array, but the getopt string and switch case handle uppercase 'P'. 
This mismatch caused --partial to be rejected.

Fix the long_options mapping to use 'P' so --partial works correctly
alongside the existing -P short option.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kaushlendra Kumar <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Tested-by: SeongJae Park <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
2026-01-20 19:24:43 -08:00
..
…