On 5/22/2026 9:37 PM, Bruce Richardson wrote: > While the telemetry infrastructure supported using "/help,/<cmd>" to get > help on specific commands, with the addition of script-specific > commands, we needed better help support to explain the use of FOREACH, > and to allow e.g. "help /<cmd>" using space separation, which is more > intuitive. This patch adds that help support. > > Signed-off-by: Bruce Richardson <[email protected]> > --- > usertools/dpdk-telemetry.py | 61 ++++++++++++++++++++++++++++++++++++- > 1 file changed, 60 insertions(+), 1 deletion(-) > > diff --git a/usertools/dpdk-telemetry.py b/usertools/dpdk-telemetry.py > index 8b976160e0..2c88b91517 100755 > --- a/usertools/dpdk-telemetry.py > +++ b/usertools/dpdk-telemetry.py > @@ -25,6 +25,26 @@ > ALIAS_FILE = ".dpdk_telemetry_aliases" > MAX_ALIAS_EXPANSIONS = 32 > > +BASIC_HELP_TEXT = """Basic usage: > + /<command>[,<params>] Send a telemetry command to the app > + FOREACH ... Run a compound query over list items > + help Show this help > + help /<command> Show app-provided help for a command > + help FOREACH Show FOREACH usage and examples > + quit Exit the client
Please add help alias to show ALL loaded command alias

