Bug 479648 - provide a command line option like --list-tools
Summary: provide a command line option like --list-tools
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-11 14:09 UTC by 吴振宇
Modified: 2024-01-11 14:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 吴振宇 2024-01-11 14:09:57 UTC
provide a command line option like --list-tools, it can help some shell completion of `valgrind --tool=<TAB>`

<https://github.com/zsh-users/zsh/blob/master/Completion/Linux/Command/_valgrind#L259>
Comment 1 Paul Floyd 2024-01-11 14:24:45 UTC
--help outputs

  tool-selection option, with default in [ ]:
    --tool=<name>             use the Valgrind tool named <name> [memcheck]
                              available tools are:
                              memcheck cachegrind callgrind helgrind drd
                              massif dhat lackey none exp-bbv

Maybe I could add --tool=help to also print the above message.