[PATCH v2 1/2] app/testpmd: harmonize case in help strings

Stephen Hemminger stephen at networkplumber.org
Mon May 26 16:52:43 CEST 2025


On Fri, 23 May 2025 11:36:04 +0100
Anatoly Burakov <anatoly.burakov at intel.com> wrote:

> Most testpmd help strings are lower case. Amend those that aren't.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>

Why does DPDK not follow the convention used for years by the Unix
man pages and commands? The Unix command description style is to use
upper case for items in command that are variables.

	.help_str = "port PORT_ID enable|disable COUNTER_NAME",

These strings should match what is in the documentation for examples.

$ ls --help
Usage: ls [OPTION]... [FILE]...
...
  -F, --classify[=WHEN]      append indicator (one of */=>@|) to entries WHEN
      --file-type            likewise, except do not append '*'
      --format=WORD          across,horizontal (-x), commas (-m), long (-l),
                             single-column (-1), verbose (-l), vertical (-C)


More information about the dev mailing list