Bug 241072

Summary: List tools in --help output
Product: [Developer tools] valgrind Reporter: Matt Fago <fago>
Component: generalAssignee: Paul Floyd <pjfloyd>
Status: RESOLVED FIXED    
Severity: wishlist CC: njn, pjfloyd
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matt Fago 2010-06-08 04:37:10 UTC
It would be very handy if the available tools were listed in the  
output of --help.  Is this something that might make it into a future  
release? Did I overlook it?The only place I've seen such a list is in  
the online docs.
Comment 1 Nicholas Nethercote 2010-06-08 07:44:20 UTC
This feature was present in older versions but then some internals changed which made it harder to support, so it was dropped.

Maybe the TOOLS and EXP_TOOLS variables in the top level Makefile could be passed into the compilation of m_main.c.
Comment 2 Paul Floyd 2023-01-11 20:46:46 UTC
I was a bit lazy and just added to the text rather than trying to propagate TOOLS and EXP_TOOLS to the recursive make call in coregrind and then to m_main.c

Might be a slight bother to packagers that add in out-of-repo tools.
Comment 3 Paul Floyd 2023-01-11 20:47:05 UTC
commit 8fcc813468554b23c04d8db64f425b299df06ad0 (HEAD -> master, origin/master, origin/HEAD)
Author: Paul Floyd <pjfloyd@wanadoo.fr>
Date:   Wed Jan 11 21:42:41 2023 +0100

    Bug 241072 List tools in --help output