mbox series

[v5,0/4] improve options help

Message ID 20210405193954.1115838-1-thomas@monjalon.net (mailing list archive)
Headers show
Series improve options help | expand

Message

Thomas Monjalon April 5, 2021, 7:39 p.m. UTC
After v4, this series is split in several parts.
The remaining 4 patches of this series are low priority.

Patches 1 and 3 are simple improvements.

Patches 2 and 4 lead to a new formatting of the usage text.
It is a matter of taste and should be discussed more.

v5: no change

Thomas Monjalon (4):
  eal: explain argv behaviour during init
  eal: improve options usage text
  eal: use macros for help option
  app: hook in EAL usage help

 app/pdump/main.c                                 |  2 ++
 app/proc-info/main.c                             |  2 ++
 app/test-acl/main.c                              |  2 ++
 app/test-bbdev/main.c                            |  3 ++-
 app/test-compress-perf/comp_perf_options.h       |  2 ++
 app/test-compress-perf/comp_perf_options_parse.c |  8 ++++----
 app/test-compress-perf/main.c                    |  3 ++-
 app/test-crypto-perf/cperf_options.h             |  2 ++
 app/test-crypto-perf/cperf_options_parsing.c     |  8 ++++----
 app/test-crypto-perf/main.c                      |  3 ++-
 app/test-fib/main.c                              |  8 ++++++++
 app/test-flow-perf/main.c                        |  4 +++-
 app/test-pmd/parameters.c                        |  4 ++--
 app/test-pmd/testpmd.c                           |  2 ++
 app/test-pmd/testpmd.h                           |  1 +
 app/test-regex/main.c                            |  3 ++-
 app/test-sad/main.c                              |  7 +++++++
 lib/librte_eal/common/eal_common_options.c       | 13 ++++++-------
 lib/librte_eal/freebsd/eal.c                     | 10 +++++-----
 lib/librte_eal/include/rte_eal.h                 |  2 ++
 lib/librte_eal/linux/eal.c                       | 14 +++++++-------
 lib/librte_eal/windows/eal.c                     | 12 +++++-------
 22 files changed, 74 insertions(+), 41 deletions(-)